It is currently Sat Aug 22, 2020 3:41 am


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Multiple volumes and mesh renderer
PostPosted: Mon May 15, 2017 7:31 pm 

Joined: Mon May 15, 2017 7:35 am
Posts: 8
Hi,

First, thanks so much for making this great tool free!

Some basic questions about Cubiquity. Is it possible to have more than one ColoredCubes volume present in the same scene? I am experimenting with one ColoredCubes volume that has its data dynamically set, and another one that has its data set from a vdb asset. As soon as the dynamic one begins to render, the volume with the vdb asset disappears from view.

Also, is it possible to have an object with a MeshRenderer render in the same scene as a cube volume? I can't get this to work either.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Multiple volumes and mesh renderer
PostPosted: Wed May 17, 2017 10:24 pm 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
Gryz wrote:
Some basic questions about Cubiquity. Is it possible to have more than one ColoredCubes volume present in the same scene? I am experimenting with one ColoredCubes volume that has its data dynamically set, and another one that has its data set from a vdb asset. As soon as the dynamic one begins to render, the volume with the vdb asset disappears from view.


Yes, this should work and unfortunately I don't know what the problem might be from your description. Does it work if both volumes come from VDBs or if both come from code? What about smooth volumes like in the solar system example? Do both the Earth and Moon load?

Gryz wrote:
Also, is it possible to have an object with a MeshRenderer render in the same scene as a cube volume? I can't get this to work either.


I'm afraid I haven't used Unity for a while so I am a little hazy, but a object with a MeshRenderer would be most 'normal' object in the scene, right? Like a charachter or something? So yes, this should work and actually the small cubes which are spawned when you destroy parts of the volume are probably objects with a MeshRender attached.

Unfortunately I haven't used or worked on Cubiquity myself for quite a while, and from this and other posts I get the impression it is having some issues with more recent versions of Unity. It was developed under Unity 4 and only tested a bit under early versions of Unity 5. It may be that there are some issues which won't get fixed until Cubiquity 2.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Multiple volumes and mesh renderer
PostPosted: Tue Jul 18, 2017 7:15 am 

Joined: Mon May 15, 2017 7:35 am
Posts: 8
It turns out the problem was on my end with the mesh I was importing. It renders just fine now, along with the cube volume.


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net