Using nkdata?

Announcements, requests and support regarding the Blender Indigo export script
Post Reply
10 posts • Page 1 of 1
neo0.
Posts: 1784
Joined: Thu Feb 28, 2008 7:11 am
Location: the US of A

Using nkdata?

Post by neo0. » Mon Mar 03, 2008 7:08 am

How would I go about setting it up?

There used to be a guide somewhere around but it seems to have disappeared. :?

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Mon Mar 03, 2008 7:36 am

look at the list of nks.
type the name of the file, you want ;) (don't forget the ending ".nk")
Most important:
Au = gold
Ag = Silver
Al = Aluminum
Cu = Copper

to see, how which material looks like, look through this list: http://deeppixel.uw.hu/projects/NK_materials.html

transparent ones will work, but not as expected: NKs don't support transparency. ;)

neo0.
Posts: 1784
Joined: Thu Feb 28, 2008 7:11 am
Location: the US of A

Post by neo0. » Mon Mar 03, 2008 10:03 am

Okay, I right click my object, type the xxx.nk in the name, hit enter but it overrides the rest of my objects in my scene and the materials aren't visible in indigo.

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Mon Mar 03, 2008 10:13 am

lol, sorry
not in the name of the object
but in the blendigo script window ;)
there, you need to select the Material tab (with your object, which is supposed to get an nk mat) and then, change your material to "Phong" (if it isn't already).
There is a text field, where you can put in your nk. The only relevant option, you then have, is the exponent ;) - all the rest will be overtaken from the nk.

neo0.
Posts: 1784
Joined: Thu Feb 28, 2008 7:11 am
Location: the US of A

Post by neo0. » Mon Mar 03, 2008 10:27 am

Thanks, what if you have multiple objects that yu want differnt materials for?

User avatar
Kram1032
Posts: 6649
Joined: Tue Jan 23, 2007 3:55 am
Location: Austria near Vienna

Post by Kram1032 » Mon Mar 03, 2008 10:49 am

you need to give different blender materials for each Indigo material, you want to use.
The Indigo material will have the same name as the blender mateiral. Just search for it in the drop down list, or select your object with a certain material and move the cursor in the script window. ;)

neo0.
Posts: 1784
Joined: Thu Feb 28, 2008 7:11 am
Location: the US of A

Post by neo0. » Mon Mar 03, 2008 12:17 pm

Okay, so I need to associate each blender material with an indigo material..


Well my blender materials keeep on replacing each other.. I set a material for one object and it overrides everything.

User avatar
afecelis
Posts: 749
Joined: Tue Aug 01, 2006 4:14 am
Location: Colombia
3D Software: Blender
Contact:

Post by afecelis » Mon Mar 03, 2008 4:49 pm

You must use blendigo. Just create your materials in blender as regular materials. Materials you create with a specular value of zero will be interpreted by blendigo as diffuse materials. Materials with a specular value above zero will be interpreted by blendigo as phong materials, and materials you set up as glass in blender will be interpreted by blendigo as specular=transparent. The important thing here is that each material must have its own name. Once you open blendigo's material interface, each material will have the basic settings taken from blender's material info, but you must fine-tune them through blendigo.
Finally, an nk material is simply a phong material, but you just type in the name of the material you'd like to use, like Kram mentions above. The Nk data overrides the phong properties.

here's a good reference on indigo's nk materials:
http://deeppixel.uw.hu/projects/NK_materials.html

regards,
Alvaro
AMD Ryzen 7 1800 @3.6ghz, 32GB ddr4 3200 mhz Ram, Nvidia RTX 3060 12GB, Win10, Blender/Sketchup/Modo/Cinema4d

neo0.
Posts: 1784
Joined: Thu Feb 28, 2008 7:11 am
Location: the US of A

Post by neo0. » Mon Mar 03, 2008 5:59 pm

Well, basically, whenever, i create a new material in blender and assign tit to the object I want to, it overrides all the other materials for all the other objects.

Big Fan
Posts: 745
Joined: Tue Oct 17, 2006 9:37 am
Location: Nelson NZ

Post by Big Fan » Mon Mar 03, 2008 6:30 pm

linked materials?

in Links and Pipeline buttons window how many objects is the material linked to? (next to the X)
hover over the number and click to make a 'single user'.

Post Reply
10 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 17 guests