Search found 9 matches

by Timmmm
Fri Dec 14, 2012 3:11 pm
Forum: News & Chat
Topic: Importing a transparent PNG image in the VSE?
Replies: 7
Views: 22945

Ok, I just tested, and indeed all you need to do is select "Premultiply". I have no idea what it does, or how I should know to use it, but the day Blender gets decent documentation... well, that'll be a nice and unlikely day. At a *guess*, I'd say blender's VSE only supports premultiplied alpha, and...
by Timmmm
Fri Dec 14, 2012 3:04 pm
Forum: News & Chat
Topic: Importing a transparent PNG image in the VSE?
Replies: 7
Views: 22945

Also worth playing with the "Premultiply" option in the "Colours" section of the strip properties. I think in fact that may be all you need... (not tested).
by Timmmm
Fri Dec 14, 2012 2:59 pm
Forum: News & Chat
Topic: Importing a transparent PNG image in the VSE?
Replies: 7
Views: 22945

Definitely a bug.

I can confirm that this is a bug in blender's PNG-reading code. Probably something to do with premultiplied alpha. It's obviously a common bug, because OSX's image viewer does the same thing. Render a semi-transparent image with blender and save it as a PNG (remember to select RGBA in the save dialo...
by Timmmm
Thu Nov 29, 2012 1:33 pm
Forum: News & Chat
Topic: Can video montage be made in Blender?
Replies: 6
Views: 5389

Actually, you can work around 2 in a hacky way: make sure your videos don't overlap at all, then select them all, and add an "Add" effect.
by Timmmm
Thu Nov 29, 2012 1:30 pm
Forum: News & Chat
Topic: Can video montage be made in Blender?
Replies: 6
Views: 5389

I'm not sure it will be so easy. I'm trying to do a "montage" or two videos next to each other. There are two main issues: 1. There's no option to preserve the aspect ratio of the input video. Blender always rescales the video to fit the output size. Pretty damn annoying! You *can* disable blender's...
by Timmmm
Thu Mar 06, 2003 3:12 pm
Forum: Python
Topic: Accessing UV coords from python.
Replies: 5
Views: 11047

All the vertices of the mesh are store in an array. Triangles are then constructed by specifying three offsets into the array to select 3 vertices. This saves space ('cause the vertices are often duplicated at the edge of faces), and probably speeds up rendering a bit, (and is the format that OpenGL...
by Timmmm
Wed Mar 05, 2003 8:42 pm
Forum: Python
Topic: Accessing UV coords from python.
Replies: 5
Views: 11047

Yeah I think part of my problem, is that blender stores UV coords for each vertex of each face, so adjacent faces dont have to use adjacent parts of the texture. I (well, OpenGL), want it so that each vertex has its own UV coords and that they are the same for all the faces it is part of. Oh well, I...
by Timmmm
Tue Mar 04, 2003 6:46 pm
Forum: Python
Topic: Blender-Python Board, gurus & coders needed
Replies: 25
Views: 20031

Yeah! C++!
by Timmmm
Tue Mar 04, 2003 5:34 pm
Forum: Python
Topic: Accessing UV coords from python.
Replies: 5
Views: 11047

Accessing UV coords from python.

Hey ho, I've been trying for ages to figure out how to get the following script to export UV's properly. Currently they all come out as 0.0. Someone elses post mentioned that it doesn't work with NMesh, or something, but it does with Mesh? I dont *really* know python, and it took me a while to make ...