Search found 13 matches

by markluffel
Sun Nov 17, 2002 1:50 am
Forum: Python
Topic: Python Woes
Replies: 3
Views: 5412

HOWTO

Go to your script-buttons tab of the button window. Click the axes in the window bar - this activates object driven scripts. Select your object then click the "new" button on the left, drag the dropdown menu to Redraw and type the name of your script in the text box. This is probably not the best pl...
by markluffel
Tue Nov 12, 2002 6:11 am
Forum: Coding Blender
Topic: OS X
Replies: 18
Views: 18295

OpenGL

The GL headers on OSX are actually <OpenGL/gl.> and <OpenGL/glu.h>

There may be linkage problems too, funny things called dylibs keep preventing me from building open source stuff. I haven't gotten that far though. I'm waiting until my X.2 arrives so that I can use the new Developer Tools (with gcc).
by markluffel
Tue Nov 12, 2002 6:05 am
Forum: News & Chat
Topic: Idea for a new feature
Replies: 5
Views: 2586

Select Near

It would not be very easy to implement, because blender meshes contain very little adjacency information. It could be done, bu t it would be really slow.
Try out wings3d http://www.wings3d.com it has better modelling capabilities than blender because it uses a different mesh data scheme.[/url]
by markluffel
Wed Nov 06, 2002 8:07 am
Forum: Python
Topic: Variables don't stay in 2.25
Replies: 4
Views: 6183

The way I understand it, older blender keep a single python interpreter active and in the same namespace. It seems 2.25 doesn't do this. Therefore your variables are destroyed at the end of each script run.
This state will not continue for long.
by markluffel
Wed Nov 06, 2002 8:01 am
Forum: Python
Topic: Blender-Python Board, gurus & coders needed
Replies: 25
Views: 19524

GameLogic incorporation

I've been thinking today about the division between the GameLogic and Blender API's - looking for similarities and what differences remain when the similarities are merged. The most obvious similarities are the Blender.Draw module and GameKeys modules, then the Actuators and DataBlock accessors. Act...
by markluffel
Mon Nov 04, 2002 6:31 am
Forum: Python
Topic: Blender-Python Board, gurus & coders needed
Replies: 25
Views: 19524

Ideas

To prevent incompatible releases of the Python/Blender API we could store past version of the interface in sub-modules. The top-level "Blender" module could store all current implementation and the sub-modules could simply be wrappers for the current functions that made sure the parameter count was ...
by markluffel
Sat Nov 02, 2002 11:49 pm
Forum: Interface & Tools
Topic: Colored wireframes
Replies: 12
Views: 12981

Code: Select all

#define makeColor(r,g,b) ((int)(b) << 16) + ((int)(g) << 8) + ((int)(r))
A bit of abstraction to make color code more readable.
(This is as good a place as any.)[/code]
by markluffel
Sat Oct 26, 2002 12:39 am
Forum: Python
Topic: Why is Python so picky in 2.25????
Replies: 1
Views: 5035

Get get

<edit>Sorry, this is untrue. The Get I saw was for global variables. I thought I had tried them out.</edit> There is a "get" and a "Get" in 2.25. Both seem to work the same, but I assume you are only using this as an example. There will eventually be some order out of the Python API chaos, probably ...
by markluffel
Thu Oct 24, 2002 6:06 am
Forum: Python
Topic: Interactive Python
Replies: 3
Views: 6445

Console vs Terminal

To get a console window in MacOS X you must call Blender from the command line. Something like: /Applications/BlenderPublisher.app/Contents/MacOS/blenderpublisher You could also create a link to the executable and name it "blender" for easy access. Say: ln /Application/...publisher ~/blender. I also...
by markluffel
Thu Oct 24, 2002 5:40 am
Forum: Python
Topic: How to tell Blender where to find Python
Replies: 7
Views: 11979

Mac Python Path

I can't seem to have Blender find my python modules. "sys.path" has an entry for "/sw/lib/python2.2/" (fink distribution), but none of the modules will import. Any ideas why? [edit] It can find some modules, but not others. It will only find anything if I explicitly set my sys.path to ["/sw/lib/pyth...
by markluffel
Thu Oct 24, 2002 5:16 am
Forum: News & Chat
Topic: What is the status of OSX builds ?
Replies: 36
Views: 12243

Please No

Making it Aqua would be very difficult, hard to maintain and of doubtful value.
by markluffel
Sun Oct 20, 2002 1:44 am
Forum: Python
Topic: Interactive Python
Replies: 3
Views: 6445

Interactive Python

An interactive python mode for blender would be great. I often start the python interpreter while testing a script to check a code stub without executing the entire thing. There is no direct way to do this in blender. Adding a 'terminal' window mode to blender seems like the obvious solution, but pe...
by markluffel
Sun Oct 20, 2002 12:45 am
Forum: Rendering
Topic: Isn't multipass programmable shading the future of CG?
Replies: 10
Views: 9427

A group called VM Labs supposedly created a ray tracing graphics chip four years ago. Read: http://www.wired.com/wired/archive/6.07/projectx.html?pg=3&topic=&topic_set= After seeing all of the lighting tricks that Bungie put in Halo, I'm wondering about the use of ray tracing too. I think that runni...