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 - Nikys

Pages: [1]
Corona Standalone / Re: Accessing Corona Bitmap in 3ds max
« on: 2017-09-12, 15:10:23 »
Is it valid Class ID for Corona Bitmap that is not going to be changed?

Corona Standalone / Accessing Corona Bitmap in 3ds max
« on: 2017-09-12, 15:02:00 »
Hello everyone. I've asked people before how to access Corona Material in 3ds max using C++ SDK. Solution was working, but now, when I want to access Corona Bitmap I feel as something is burning down my spine.

I tried to use common approach and look at ClassName of Corona Bitmap. And what I see? Bitmap's class name almost always is the name of the image it uses! The only solution I see right now is getting local name of first (and only) paramblock of the bitmap which is "Corona BitmapTex PB" for now.
Though I already can predict how many pains I'll get when it will be changed or something else.

Is there any "civil" way to recognize that I'm working with Corona Bitmap in 3ds Max C++ SDK?

Gave plugin to the man who has Corona 1.5.1. I can see that there are new options: pbrMode and opacityCutout.
What is opacityCutout?

I moved in other direction and just parsed Paramblock.
I'm afraid that it may drastically change in next versions, as I'm working with Corona 1.3 right now (and don't know what is going on in Corona 1.6, for instance), and it may have no sense later.
If someone is interested, here is header similar to the public interface of VRayMtlParameters enumeration.
Hope I did not break any Corona Renderer rules :D Seriously, guys, a user can see it and access it, thus, it is open already.

Hello. 3ds Max itself in its C++ SDK has many useful (accessible by the user via GUI) things (like diffuse color, map level etc.). VRay supports you with a header for enumeration of paramblocks and options in Material Editor, so you can get them on your own.
Do you have some similar public interface that is not changing constantly from version to version? I'm stuck a little bit about how to export minimal info (similar to other render engines who provide their own material implementation) provided by the user who uses Corona Render.

Pages: [1]