Monday, July 24, 2006

Eliminating the shared state between components

I have made a draft of how I think the 3D components could interact in a more organised and clean way than it was before. It relies on displaylists and opengl picking.

Objects now do not draw themselves directly. Instead, they compile their contents into a displaylist which then gets sent to the displayservice. This way the displayservice is able to draw the objects all at once and without being dependent on the linearised scheduling of all the components. A nice side effect is that displaylists also make things faster. For dynamic objects a component could recompile its displaylist every frame. I'm not sure how well this will work though.

Being able to draw the objects at any time and as often as needed, also enabled the use of picking for event processing. It works by defining a point (mouse position) and drawing the scene in GL_SELECT mode. All the objects which were drawn near the specified point can then be determined. The line/OOB intersection with every object is not needed anymore.

The draft is in my Sketches folder in 3D/playground/. A working example is included in the file SimpleCube.py. It shows that it works but it could not be less spectacular (cubes again).

19 Comments:

Anonymous Anonymous said...

Keep up this great resource. Respect!


louis vuitton replica bags

paycheck cash advance online

advance cash loan payday quick

cash loan personal quick

no fax payday cash advance

advance cash loan loan paycheck payday

advance online payday

advance lender loan payday

cash emergency fast loan loan loan payday quick

home equity loan calculation

alabama credit free report score

See you tomorrow!

1:51 AM  
Anonymous Anonymous said...

Beautiful site! I'll be back as soon as possible!


buy cheap phentermine choice

buy from online pharmacy tramadol

buy cheap soma

20 tadalafil

buy cheap tadalafil

atarax effects medication side

cheap phentermine online

See you tomorrow!

4:26 PM  
Anonymous Anonymous said...

Finally the real thing - no more ripoffs! Enhancement Patches are hot right now, VERY hot! Unfortunately, most are cheap imitiations and do very little to increase your size and stamina.
Well this is the real thing, not an imitation! One of the very originals, the absolutely strongest Patch available, anywhere!

Check out the site http://www.seemoco.info for more info TODAY, you'll be glad you did ;)

Penis Growth Patch

______________________________________________
Our others products:
Ultra Allure Pheromones
Anatrim
Advanced Gain Pro Pills
Regenisis HGH

2:04 AM  
Anonymous Anonymous said...

"I have been using Advanced Gain Pro for 3 months now and I must say I'm simply amazed. I really didn't think the product would have this many benefits. I really only purchased the pills to help the reliability of my erections. But to my surprise every aspect of my penis and sex life has improved. I have larger, harder erections easily, and I can really satisfy my girlfriend fully now."
Dexter, Chicago

The next generation of enlargement pill is here!

________________________________
Our others products, more info here:
Ultra Allure Pheromones
Anatrim

6:15 PM  
Anonymous Anonymous said...

its here

phentermine search
phentermine
tramadol
cialis

9:57 PM  
Anonymous Anonymous said...

Phentermine
Phentermine search
Ringtone search
Tramadol
Phentermine
cialis

6:08 AM  
Anonymous Anonymous said...

Very Nice! Please read my post :)
online drug store
drug store pharmacy online
discount drug store online
canadian online drug store
cheap online drug store
prescription drug store online
canada online drug store
drug foreign online store
online drug store ultram
drug medication online prescription store
drugstore online
online drugstore
online drugstores
mexico online drugstores
1 drugstore online
canadian online drugstores
online drugstores spain
foreign drugstores online
With best regards...
viagra on line

9:28 AM  
Anonymous Anonymous said...

I will recommend you to all my friends!
zithromax 1g
zithromax
zithromax z pack
zithromax used for treating
zithromax as treatment for chlamydia
zithromax dosing instructions
zithromax medicine
zithromax as for treatment for chlamydia
zithromax dosage
alcohol and zithromax
zithromax no perscription
side effects of zithromax
zithromax azithromycin
zithromax no prescription
antibiotic zithromax
zithromax side effects
zithromax z-pak
zithromax 3 week course
Bye!

3:24 AM  
Anonymous Anonymous said...

Excellent job, man. Bookmark!
effexor xr
effexor xr withdrawal
is effexor xr a good drug
effexor xr withdraw symptoms
effexor xr side effects
effexor xr weight loss
effexor xr withdrawal symptoms
effexor xr and eye problems
effexor xr withdrawals
generic effexor xr
effexor xr online
effexor xr 75mg side effects
alcohol and effexor xr
effexor xr generic
antidepressant effexor xr
effexor xr dosage
side effects of effexor xr
buy effexor xr
cheap effexor xr
effexor xr 37.5
effexor xr discount
effexor xr hearing loss
effexor xr treats depression
With best regards...

9:07 AM  
Anonymous Anonymous said...

relax and enjoy
[url=http://tramadol.networkfindwork.info]Tramadol[/url]
[url=http://viagra.worksearchuk.info]Viagra[/url]
[url=http://webraindor.info/wiki/phentermine]phentermine[/url]
[url=http://cialis.goodtone.info]cialis[/url]

5:24 AM  
Anonymous Anonymous said...

[b] Search engines try it [/b]

[url=http://casino.myeasyseek.info]Casino[/url]
[url=http://viagra.themysearch.info]viagra[/url]
[url=http://myownlook.info]tramadol[/url]
[url=http://cialis.workfinda.info]cialis[/url]

11:39 PM  
Anonymous Anonymous said...

Latest news. Viagra, cialis

[url=http://viagra.rxworlddata.info]viagra[/url]
[url=http://cialis.rxtvinfo.info]cialis[/url]
[url=http://tramadol.rxplusinfo.info]tramadol[/url]

11:16 AM  
Anonymous Anonymous said...

Best flower for you girlfriend
[url=http://levitrworld.info][b]BEST FLOWER [/b][/url]

[url=http://soma.eneye.info][b]soma[/b][/url] or here [url=http://webraindor.info/wiki/phentermine][b]phentermine[/b][/url]

12:35 AM  
Anonymous Anonymous said...

Hi all!

[URL=http://www-rohan.sdsu.edu/dept/nak/Buttons/d/1/]tramadol[/URL]
tramadol

3:20 AM  
Anonymous Anonymous said...

[URL=http://av.vet.ksu.edu/CSS/f/]cialis[/URL]
cialis
[URL=http://av.vet.ksu.edu/CSS/h/]phentermine[/URL]
phentermine
[URL=http://av.vet.ksu.edu/CSS/e/]viagra[/URL]
viagra
[URL=http://av.vet.ksu.edu/CSS/g/]xanax[/URL]
xanax

4:18 AM  
Anonymous Anonymous said...


fioricet
fioricet online
buy fioricet
cheap fioricet
fioricet order
buy fioricet online
butalbital fioricet
buy cheap fioricet
addiction fioricet
codeine fioricet

9:10 PM  
Anonymous Anonymous said...

Vey nice site! If you wanna get money please visit my site:

soma

buy soma

If you want unsubscribe your site from my list plz write me fash10n_b0y@yahoo.com
Beforehand thanks!

2:24 AM  
Anonymous Anonymous said...

Vey nice site! If you wanna get money please visit my site:

xanax

buy xanax


If you want unsubscribe your site from my list plz write me fash10n_b0y@yahoo.com
Beforehand thanks!

9:40 AM  
Anonymous viagra said...

The anti-impotency treatment you are going to adopt just after being identified with erectile dysfunction is not likely to yield any fruitful result if you do not abide by the precautionary instructions recommended by the physician. For instance, after procuring viagra online if you administer cheap viagra without providing the necessary details to the doctor with regard to your medical history then there are chances that viagra intake might prove disastrous to you. Most particularly, if you are taking nitrate based medicine such as nitroglycerin patches to treat a specific medical condition you should inform the doctor immediately so that he doesn’t suggest you to buy viagra. The usage of Viagra by any person using nitrate-based medicines can trigger off health disaster and as such you can definitely avoid the imminent harm by explaining your medical history to the doctor and avoiding to buy viagra online if the drug is not meant for you.

11:08 AM  

Post a Comment

<< Home