Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - menion

Pages: [1]
1
Support / Re: Basic usage of multiple similar objects
« on: May 20, 2015, 02:48:47 pm »
Ah, I completely missed this.

Thank you Egon, really appreciate your help!

2
Support / Re: Basic usage of multiple similar objects
« on: May 20, 2015, 12:44:43 pm »
Thank you Egon, you gave me very nice answer on most of questions!!

One last if I can.

I can imagine this, like creating required objects (satellites) on-the-fly as copy of a single object (shared mesh). Isn't a big performance problem to add or remove a lot of them from the "world" instance before a draw? Or is there a faster method how to temporary disable rendering of certain object, like object3D.setVisible(true/false)?

3
Support / Basic usage of multiple similar objects
« on: May 20, 2015, 09:38:58 am »
Hello guys,

Question (example): imagine Earth (sphere) and 20-50 satellites around. Every second, number (I define which sats are visible at the moment), position (they are moving) and color (color define strength of signal) of satellites change.

May you forward me to any sample application or existing topic (I was searching a lot and I'm unable to find it), where I may read some similar technique how to handle this task.

Because I do not know if I should pre-create all sats at begin (there should be up to 100 objects, maybe more) and before every draw remove or add sats to world, define it's parameters and then call "draw", or if I may use just one satellite (I'm unable to find method to do this) and then just in cycle change it's parameters and call "draw" on it. Etc etc. Too much options.

Also because lib is closed source, it is not clear for me, if I may change color of Object3D "setAdditionalColor" even after "build" was called.

Thank you for you time!

Pages: [1]