Here’s a simple example try(destroydialog ::rlLabel)catch() rollout rlLabel “Listview” ( dotNetControl uiColors “Label” width:130 height:20 pos:[10,…
Klvnk: virtual int Object::IsRenderable ( ) Right. This is better. It all depends on where you’re going with this… why shouldn’t it be a helper…
I thought it’s inherited from GeomObject, not SimpleObject. And that the mesh should always be empty.
A couple of points: You should return NULL from ConvertToType, it’s expecting a pointer. This should never be called anyways, but it’s more correct…
Oh, so you are in control of the code. In that case you should do what I suggested earlier. I’m not sure what the problem is, just override CanConvert…
Oh, I assumed you control the object source code, I didn’t realize you’re trying to do this for existing objects.
Return an empty mesh from GetRenderMesh. Also return FALSE from CanConvertTo.
don’t convert the matrix to quat, use it’s .rotation property.
Right, and you also don’t need to create the plane object, that was just for demonstration.
b = [1,1,1] a = [0,0,0] n = b – a p = plane transform:(matrixFromNormal n)
Check out dispmod.cpp in the samples. It depends if you mean the ‘bitmap’ field or the ‘map’ field. The ‘map’ is stored as reference #2. You can easi…
The manual equivalent of your code is to select the objects one by one with Ctrl pressed
This is already an option in VRay. ‘Lock to dome orientation’ checkbox in texture rollout.
What would you do with a pointer of a value which is garbage collected? If you need persistent pointers to values, you’ll need to store the values you…
If you’re willing to nuke the user’s undo stack, you can call clearUndoBuffer() after the delete.