World Editor SFX & Light visualization
by Nathan Bowhay - ESAL · in Torque 3D Professional · 07/20/2012 (11:28 am) · 2 replies
I am trying to figure out what is required for the sfx & spotlight visualization to happen in the world editor so that I can render the same visualization in a custom TSControl.
I noticed gEditingMission needs to be true and then the object needs to be selected. I got both set, but something else is happening specific to selection in a WorldEditor TS control or at least the Torque3D world editor selection or something, because if I select an object in there and then go to my ts control the visualization is rendered, but if I select it in my own (which inherits from EditTSCtrl) it doesn't.
Any ideas? I am having a difficult time hunting it down.
I noticed gEditingMission needs to be true and then the object needs to be selected. I got both set, but something else is happening specific to selection in a WorldEditor TS control or at least the Torque3D world editor selection or something, because if I select an object in there and then go to my ts control the visualization is rendered, but if I select it in my own (which inherits from EditTSCtrl) it doesn't.
Any ideas? I am having a difficult time hunting it down.
#2
Sometimes forcing yourself to clearly state the issue also clarifies the issue in your mind. Then your mind can work through the issue with a more concise description of the problem. Often we try and solve problems, and have an idea of what the problem is, but your subconscious does not work well with abstracts. It requires solid data to help you work a problem.
If I get stuck on something I will try and clarify the issue. Then I will walk away and do something else. This gives my subconscious a chance to work on the problem. The subconscious is massively powerful and can solve many issues without your conscious mind even thinking about it. It is like having an Einstein to call upon whenever you need him. Either that or it is the voices helping me out... ;)
07/20/2012 (10:18 pm)
It is good to post an issue and a resolution. It helps others later.Sometimes forcing yourself to clearly state the issue also clarifies the issue in your mind. Then your mind can work through the issue with a more concise description of the problem. Often we try and solve problems, and have an idea of what the problem is, but your subconscious does not work well with abstracts. It requires solid data to help you work a problem.
If I get stuck on something I will try and clarify the issue. Then I will walk away and do something else. This gives my subconscious a chance to work on the problem. The subconscious is massively powerful and can solve many issues without your conscious mind even thinking about it. It is like having an Einstein to call upon whenever you need him. Either that or it is the voices helping me out... ;)
Torque 3D Owner Nathan Bowhay - ESAL
ESALPllc