lo1
@lo1
New Member
Joined: Feb 14, 2024
Topics: 44 / Replies: 1920
Reply
RE: dotnet label with gradient

Here’s a simple example try(destroydialog ::rlLabel)catch() rollout rlLabel “Listview” ( dotNetControl uiColors “Label” width:130 height:20 pos:[10,…

10 years ago
Forum
Reply
RE: Change SuperClass C++

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…

10 years ago
Forum
Reply
RE: Change SuperClass C++

I thought it’s inherited from GeomObject, not SimpleObject. And that the mesh should always be empty.

10 years ago
Forum
Reply
RE: Change SuperClass C++

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…

10 years ago
Forum
Reply
RE: Change SuperClass C++

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…

10 years ago
Forum
Reply
RE: Change SuperClass C++

Oh, I assumed you control the object source code, I didn’t realize you’re trying to do this for existing objects.

10 years ago
Forum
Reply
RE: Change SuperClass C++

Return an empty mesh from GetRenderMesh. Also return FALSE from CanConvertTo.

10 years ago
Forum
Reply
RE: rotation

don’t convert the matrix to quat, use it’s .rotation property.

10 years ago
Forum
Reply
RE: rotation

Right, and you also don’t need to create the plane object, that was just for demonstration.

10 years ago
Forum
Reply
RE: rotation

b = [1,1,1] a = [0,0,0] n = b – a p = plane transform:(matrixFromNormal n)

10 years ago
Forum
Reply
RE: c++ SDK: Bitmap name in Displace Modifier

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…

10 years ago
Forum
Reply
RE: Efficient coding

The manual equivalent of your code is to select the objects one by one with Ctrl pressed

10 years ago
Forum
Reply
RE: Controlling VrayHDRI rotation with Dome light x rotaiton

This is already an option in VRay. ‘Lock to dome orientation’ checkbox in texture rollout.

10 years ago
Forum
Reply
RE: [SDK] Storing Value pointer

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…

10 years ago
Forum
Reply
RE: Any suggestions for getting around this deleted node bug?

If you’re willing to nuke the user’s undo stack, you can call clearUndoBuffer() after the delete.

10 years ago
Forum
Page 12 / 131