Blender General Questions
Moderators: ObscureMemories, Runa, Love2Raid
- semory
- Site Admin
- Posts: 7755
- Joined: Sat Aug 04, 2012 7:38 pm
- Custom Rank: Kitty pu tu tu lay!
- Location: Torrance, CA
Re: Blender General Questions
Alt + O works, so it's something wrong with my python code... hate it when you type in stuff exactly the way it is in the book and then it doesn't work when you try it .
- iheartibuki
- Moderator
- Posts: 6552
- Joined: Sun Aug 19, 2012 9:59 am
- Custom Rank: Fappy Bird
- Location: The Land of the Free
- Contact:
- semory
- Site Admin
- Posts: 7755
- Joined: Sat Aug 04, 2012 7:38 pm
- Custom Rank: Kitty pu tu tu lay!
- Location: Torrance, CA
Re: Blender General Questions
Blender 2.49 Scripting by Michel Anders, pg. 223 shows code to add a file texture to a material and many pages before that it shows how to link a material to a mesh object.
- iheartibuki
- Moderator
- Posts: 6552
- Joined: Sun Aug 19, 2012 9:59 am
- Custom Rank: Fappy Bird
- Location: The Land of the Free
- Contact:
- semory
- Site Admin
- Posts: 7755
- Joined: Sat Aug 04, 2012 7:38 pm
- Custom Rank: Kitty pu tu tu lay!
- Location: Torrance, CA
Re: Blender General Questions
it's not a very fun read
i'd much rather go to the liquor store and pick up one of those you know what mags and then hit up the bathroom
i'd much rather go to the liquor store and pick up one of those you know what mags and then hit up the bathroom
- iheartibuki
- Moderator
- Posts: 6552
- Joined: Sun Aug 19, 2012 9:59 am
- Custom Rank: Fappy Bird
- Location: The Land of the Free
- Contact:
Re: Blender General Questions
LOL! Is that the only Blender-Python scripting book available out there?
Good programmer /= good teacher
Good programmer /= good teacher
Re: Blender General Questions
I think Blender recalculates vertex normals once you import something, and I think also when you go to Edit mode and back... There is also no way to make vertex normals between 2 meshes 'align' properly, like that welding thing in 3ds Max. :/
About those white meshes, it's indeed a missing texture in the image editor. Once you load the right one there, it will appear in textured mode as well.
About those white meshes, it's indeed a missing texture in the image editor. Once you load the right one there, it will appear in textured mode as well.
- semory
- Site Admin
- Posts: 7755
- Joined: Sat Aug 04, 2012 7:38 pm
- Custom Rank: Kitty pu tu tu lay!
- Location: Torrance, CA
Re: Blender General Questions
oh ok, so that's why huh? Textures have to also be loaded in the Texture Editor as well for them to show up? Cool, I'll look through the book to see how to do that through the Python interface. Thanks guise!
- semory
- Site Admin
- Posts: 7755
- Joined: Sat Aug 04, 2012 7:38 pm
- Custom Rank: Kitty pu tu tu lay!
- Location: Torrance, CA
Re: Blender General Questions
Yeah, Marv, that book is considered the best one. I think there's one or two more Blender books that have chapters on Python scripting, but this is the only one completely dedicated to Python scripting for Blender. There are also a couple online books/manuals written by amateurs, but those are poorly written.
- semory
- Site Admin
- Posts: 7755
- Joined: Sat Aug 04, 2012 7:38 pm
- Custom Rank: Kitty pu tu tu lay!
- Location: Torrance, CA
Re: Blender General Questions
Still haven't solved the problem via scripting but one thing I noticed... when I render the triangles are textured LOL! just not in the 3D view .