Issue with objects not rendering correctly
by Jonas · in Torque 3D Professional · 05/14/2014 (5:08 pm) · 5 replies
Hello,
I have a issue with a couple of objects in my project not rendering correctly, to be more specific they stop being rendered just before they leave the current view, so the dissapearing of these objects are visible to the player.
The issue originates from the fact that these objects do not have bounds and for various reasons they cant have bounds as it interferes with other aspects of the project. I would however very much like my objects to not dissapear on me.
Anyone have a solution to this?
Details:
The class used is derived from the player class
These objects are mounted to other objects
Best regards
Jonas
I have a issue with a couple of objects in my project not rendering correctly, to be more specific they stop being rendered just before they leave the current view, so the dissapearing of these objects are visible to the player.
The issue originates from the fact that these objects do not have bounds and for various reasons they cant have bounds as it interferes with other aspects of the project. I would however very much like my objects to not dissapear on me.
Anyone have a solution to this?
Details:
The class used is derived from the player class
These objects are mounted to other objects
Best regards
Jonas
About the author
Freelance 3D artist at day scripter/coder on Enduring Life at night. Lover of all things TorqueScript.
#2
Well yes i am aware of that, however as i said in my opening post im trying to find a way to do something a kin to force detail to make it render correctly even though the bounds are not present, as they interfere with other aspects of the project.
The main problem they pose are that they are being used for collision even though they are mounted to another object. In regards to that disabling the collision from the bounding boxes would also be a solution, might be a idea to dissable this on the class level.
Best regards
Jonas
05/15/2014 (5:21 am)
@RichardWell yes i am aware of that, however as i said in my opening post im trying to find a way to do something a kin to force detail to make it render correctly even though the bounds are not present, as they interfere with other aspects of the project.
The main problem they pose are that they are being used for collision even though they are mounted to another object. In regards to that disabling the collision from the bounding boxes would also be a solution, might be a idea to dissable this on the class level.
Best regards
Jonas
#3
05/15/2014 (7:29 am)
Have you tried making the objects have global bounds? The downside being they will always render even if they aren't in sight..
#4
05/16/2014 (12:37 am)
As Andrew said making the objects have global bounds will make them render always. But afaik this is the only way to make it happen.
#5
Thank you for your reply Andrew, sadly global bounds did not work in fixing this issue(collision is still wonky)
Im thinking of just removing the terraintype(etc) from the Collision mask entirely from the classes in question to eliminate the problem entirely as that seem to be the best solution to the problem.
Best regards
Jonas
05/16/2014 (8:33 pm)
@Andrew MacThank you for your reply Andrew, sadly global bounds did not work in fixing this issue(collision is still wonky)
Im thinking of just removing the terraintype(etc) from the Collision mask entirely from the classes in question to eliminate the problem entirely as that seem to be the best solution to the problem.
Best regards
Jonas
Richard Marrevee
R.G.S - Richards Game Studio