Search found 53 matches

by ace1
Thu Oct 11, 2007 11:23 am
Forum: Coding Blender
Topic: BLENDER CODE QUESTION
Replies: 2
Views: 2526

BLENDER CODE QUESTION

I'm trying to tie in the Named Layers functionality that I coded into the outliner. I'm trying to wrap my mind around the function of the LISTBASE struct.How does it work? What is it's function? Can anyone explain? Again, not new to coding just to coding along with Blender's codebase. Also,if anyone...
by ace1
Tue Oct 02, 2007 5:15 am
Forum: Coding Blender
Topic: NAMED LAYERS HAS BEEN BORN!
Replies: 6
Views: 4705

NAMED LAYERS HAS BEEN BORN!

Blender now has layer naming capability.The new layer naming UI is fully syncronized with the Blender's current layer system and is fully compatable. This feature also has the ability to save the layer names in the .blend file so that they are intergrated into the user's workflow.The UI was kept sim...
by ace1
Mon Oct 01, 2007 10:48 am
Forum: Coding Blender
Topic: NEW BLENDER FEATURE - NAMED LAYERS
Replies: 10
Views: 5397

I finally finalized the code and got it to work like I wanted late last week.Expect a patch and a build by Tuesday.
by ace1
Tue Sep 25, 2007 11:17 pm
Forum: Coding Blender
Topic: NEW BLENDER FEATURE - NAMED LAYERS
Replies: 10
Views: 5397

Can anyone tell me how to save user input into blend files?
I've gotten makesdna to recognize my structure in my DNA... header file and it's making dna.c just fine.But, it's not saving the user input stored in the arrays in the struct.
Do I have to modify attributes of makesdna to do so?
Thanks :D
by ace1
Mon Sep 24, 2007 12:12 pm
Forum: Coding Blender
Topic: NEW BLENDER FEATURE - NAMED LAYERS
Replies: 10
Views: 5397

I'm in the final stage of development of this feature.I need some help understanding the SDNA system.As mentioned before,the named layers feature has to save the user's input of their layer names in the .blend files. My questions are as follows:Must I save my header file that holds the arrays as #in...
by ace1
Sat Sep 22, 2007 1:30 pm
Forum: Coding Blender
Topic: NEW BLENDER FEATURE - NAMED LAYERS
Replies: 10
Views: 5397

The named layers UI is now fully syncronized with the current layer system.But, can anyone explain to me how the .blend files are saved so as to imbed the user's layer names in the .blend so that when they save the .blend and open them again , the layer names can be reloaded so that they don't lose ...
by ace1
Sun Sep 16, 2007 2:10 am
Forum: Coding Blender
Topic: NEW BLENDER FEATURE - NAMED LAYERS
Replies: 10
Views: 5397

NEW BLENDER FEATURE - NAMED LAYERS

I'm almost finished coding the 2nd of 4 new features. I'm adding named layers to the functionality of Blender (a MUST when producing a large professional animation production). At present, it works the same as the present layer system as far as selectability is concerned.Also, the names of the layer...
by ace1
Fri Sep 14, 2007 2:09 pm
Forum: Coding Blender
Topic: BLENDER SCREEN REDRAW SUGGESTION
Replies: 2
Views: 1934

I looked at the docs and it seems promising.But, I think that the UI code functions need to be more modular and simpler in nature which will produce performance speedups and improved readability.It will also speed up Blender's development because new developers will be able to easily grasp the under...
by ace1
Fri Sep 14, 2007 12:30 am
Forum: Coding Blender
Topic: BLENDER SCREEN REDRAW SUGGESTION
Replies: 2
Views: 1934

BLENDER SCREEN REDRAW SUGGESTION

I recently asked a question about the allqueqe() function. Thanks Bebraw for the answer! But, to update GUI buttons in a consistent manner in all cases is to update all drawing during the video's vertical refresh.Most video games update in that way in real time.I've wrote code to do so.Couldn't Blen...
by ace1
Thu Sep 13, 2007 11:55 am
Forum: Coding Blender
Topic: NEW ANIMATION / RIGGING FEATURES2 CODE QUESTION
Replies: 6
Views: 3519

SCREEN REDRAW QUESTION

Can anyone explain the allqueue() functions in the blender code to me?
It's everywhere.I'm in the process of coding another new feature and learning UI code while in the process which isn't as easy as I thought.But, I know this fuction is key to screen display.

Thanks ! :D
by ace1
Sun Sep 02, 2007 10:00 pm
Forum: Coding Blender
Topic: NEW ANIMATION / RIGGING FEATURES2 CODE QUESTION
Replies: 6
Views: 3519

I'm going to aquire wiki editing rights today.I think that this needs to be posted in the developers section(Hacker's Guide).This documentation was a long time in coming.The more persons that understand the code's architecture,the faster the development because more coders will be less intimidated b...
by ace1
Sun Sep 02, 2007 11:12 am
Forum: Coding Blender
Topic: NEW ANIMATION / RIGGING FEATURES2 CODE QUESTION
Replies: 6
Views: 3519

Thanks for the info so far! When you finish the "explanation"(PLEASE FINISH :D ) I'm going to see if I (or you) can wiki it. It will will help a lot of new developers. Please finish explaining.You don't know how grateful I am for you to take the time to help me with your Blender coding expertise! I ...
by ace1
Sat Sep 01, 2007 11:17 pm
Forum: Coding Blender
Topic: NEW ANIMATION / RIGGING FEATURES2 CODE QUESTION
Replies: 6
Views: 3519

NEW ANIMATION / RIGGING FEATURES2 CODE QUESTION

Can anybody out there help me use the uiBut() interface functions. I'm reading the code and it seems that event handling code is spread everywhere across the codebase.Also,the UI functions are full of nested code. Can anyone explain the basic theory behind using these interfaces in a simple way? I c...
by ace1
Wed Aug 29, 2007 12:07 pm
Forum: Coding Blender
Topic: NEW ANIMATION / RIGGING FEATURES2
Replies: 6
Views: 2648

Thanks! :D :D :D
You don't know how much i sweated over this problem yesterday!
I just could'nt figure it out! But, I'm not finished yet!
Again, thanks!
by ace1
Wed Aug 29, 2007 5:15 am
Forum: Coding Blender
Topic: NEW ANIMATION / RIGGING FEATURES2
Replies: 6
Views: 2648

uiDefBut(block, BUT,ADD_SLIDER, "Add Slider" , 10, 180, 150, 20, NULL, 0.0, 0.0, 0, 0, "Add new bone control sliders"); This is a panel button function.Can ayone tell me how to get the numrical value out of this button after it has been clicked? I need to obtain the value for a flag in an if() state...