Search found 6 matches

by melbow
Thu Dec 06, 2012 10:07 pm
Forum: Python
Topic: Problem Exporting Texture Coordinates
Replies: 5
Views: 1712

Just found the problem I think. I'm exporting the UV coordinates for each index, but it should be per vertex right?? I just removed my index array and changed my vertex array to not use the index buffer and it worked. It's been a very long time since I did any rendering code. Hope my ignorance helpe...
by melbow
Thu Dec 06, 2012 5:53 pm
Forum: Python
Topic: Problem Exporting Texture Coordinates
Replies: 5
Views: 1712

I'm pretty confident I need to flip the V coordinate, because it wasn't showing anything before I did that. And I'm using GLSL in Blender shading so that shouldn't be the problem. That is good to know though, so thank you. If everything looks correct maybe I messed up my rendering code, but I haven'...
by melbow
Thu Dec 06, 2012 5:36 am
Forum: Python
Topic: Problem Exporting Texture Coordinates
Replies: 5
Views: 1712

I think I'm on the right track... I think it has to do with the coordinate spaces. I'm not entirely sure how to deal with different coordinate spaces. I'll do some more googling but any input so I know I'm on the right track would be super helpful.
by melbow
Wed Dec 05, 2012 9:59 pm
Forum: Python
Topic: Problem Exporting Texture Coordinates
Replies: 5
Views: 1712

Problem Exporting Texture Coordinates

I am writing an exporter and hit a brick wall attempting to export UV coordinates. My UV export code is: def WriteMeshUVCoordinates(Config, Mesh): if Config.Verbose: print(' Writing UV Coordinates') # start UV list Config.File.write('{}"uvList" : [ '.format(' ' * Config.WhiteSpace)) if len(Mesh.tess...
by melbow
Sat Nov 03, 2012 6:14 am
Forum: Animation
Topic: UV Animation
Replies: 1
Views: 1401

Update!

So as an update, everything I have found leads me to believe Blender does not offer UV keyframe animation. I found a "plugin", but it isn't really a plugin and seems to have some issues. If I am wrong then please let me know. I'd love for everything to be done in Blender so I can see my art at work,...
by melbow
Fri Nov 02, 2012 11:20 pm
Forum: Animation
Topic: UV Animation
Replies: 1
Views: 1401

UV Animation

I am using Blender for my 2D IOS game and while the skeletal animation was fairly straight forward, I cannot seem to figure out how to animate the UV coordinates. I am using a single texture for the entire model and its texture animations, so setting a keyframe that changes the texture will not work...