Missing Parent (Scene, Group...)
See original GitHub issueHello, thanks for this lib !
I’m trying to use different component for my app, but got this error (Missing Parent (Scene, Group...)
App.vue
<Renderer class="App__canvas" resize="window" :orbit-ctrl="{ enableDamping: true }">
<Camera :position="{ z: 10 }" />
<Scene>
<Test />
</Scene>
</Renderer>
Test.vue
<template>
<Group>
<PointLight :position="{ y: 50, z: 50 }" />
<Sphere>
<LambertMaterial color="red" />
</Sphere>
</Group>
</template>
<script setup>
import { Group, PointLight, Sphere, LambertMaterial } from 'troisjs'
</script>
Don’t understand how we can use component inside a Renderer.
If i use Scene instead of Group in Test.vue it work…
But a scene inside a scene is not a good practice ?
Thank !
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Missing Persons | Facebook
Public group. . 165K members · Join group. About this group. Find missing people and bring them home. Share photos and news about...
Read more >Family Abduction - MissingKids.org
The National Center for Missing & Exploited Children intakes reports of children abducted, wrongfully retained or concealed by a parent or other family...
Read more >Group (JavaFX 8) - Oracle Help Center
A Group node contains an ObservableList of children that are rendered in order whenever this node is ... Properties inherited from class javafx.scene.Parent....
Read more >The Kids Who Lost Parents to COVID | The New Yorker
A week after Noe died, the family held a funeral. Sonny's football team came wearing their jerseys. Izzy made a slideshow and picked...
Read more >Parent reviews for Megan Is Missing | Common Sense Media
Horrible rape scene and killing. Will traumatize any child. Show more. This title has: Too much violence. Too much ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I will publish a new version with the fix in a few days, thanks for the help 👍
@klevron any chance to add this fix for
script setupuser ?