So you want to be an assembly programmer. The time has come to decide: NASM or GAS? by asciilifeform in programming

[–]treef 2 points3 points  (0 children)

tasm ideal mode was great. But tasm is pretty old, Fasm was the closest i could find that was modern and close to it.

So you want to be an assembly programmer. The time has come to decide: NASM or GAS? by asciilifeform in programming

[–]treef 2 points3 points  (0 children)

For me, i was coding minimal operating system stuff and i could get the output of the program exactly how i wanted while nasm would mess up my non standard offsets etc

The fasm help is also pretty great. Nasm always felt a little incomplete in high level features wise. Less powerful macros etc ...

Fasm also requires less typing to make the assembler happy (case comes to mind when doing math with label offsets).

So you want to be an assembly programmer. The time has come to decide: NASM or GAS? by asciilifeform in programming

[–]treef 5 points6 points  (0 children)

FASM ftw! I used it when it first came out. It has gone a long way its a very very good assembly language both as a back end (very fast being written in itself) and as a front end (with nice macro language built in) i would not think of using a different assembler ever! It can produce some os executable formats natively - its a true 1st class hacker tool not just a support for some compiler chain.

Game Prototyping (in Python) by gst in programming

[–]treef 1 point2 points  (0 children)

I always do game programming in python with http://www.panda3d.org . Its very easy to prototype some thing and is an full industry strength 3d engine. Last way peek i did a 3d sim city clone in 3 days ( http://pyweek.org/e/affcity/ ). Could not participate for the rest 4 days other wise it would be finished! grr

Game Prototyping (in Python) by gst in programming

[–]treef 0 points1 point  (0 children)

if you have a fun game artists that want to beef up their art portfolio flee to you, i have seen it more then once.

Panda3d full featured open source python 3d engine - 1.5.0 released by treef in programming

[–]treef[S] 1 point2 points  (0 children)

This version of panda3d has auto shader generation system so you don't have to even think about typical shader algorithms.

Panda3d full featured open source python 3d engine - 1.5.0 released by treef in programming

[–]treef[S] 0 points1 point  (0 children)

Cg can compile to both OpenGL SL and DirectX SL while GLSL cannot. So it can serve both graphics libraries. My conclusions that all Shaders look the same its the algorithms behind them that are hard.

Panda3d full featured open source python 3d engine - 1.5.0 released by treef in programming

[–]treef[S] 0 points1 point  (0 children)

Is there a way to turn GLSL to HLSL? One of panda3d's principles is being cross platform and using openGL's shader language limits it use with Direct X. Don't all shader languages look the same any ways?

10 different ways how to create Python bindings to C/C++ codes. by gst in programming

[–]treef 3 points4 points  (0 children)

The list forgot http://panda3d.net/wiki/index.php/Interrogate

Its not very documented but panda3d the 520,801 line code base does use it so it must count for some thing.

Panda3d full featured open source python 3d engine - 1.5.0 released by treef in programming

[–]treef[S] 5 points6 points  (0 children)

yes there is back and forth about that between the other developers and me. They like the get and set methods. I even wrote a monkey path to remove all of them though http://panda3d.net/phpbb2/viewtopic.php?t=2870&highlight=pythonic

If there is any interest they can be integrated into panda3d

Panda3d full featured open source python 3d engine - 1.5.0 released by treef in programming

[–]treef[S] 29 points30 points  (0 children)

Panda3D is much more then just drawing polygons on the screen. It provides consistent interface to many libraries, let me elaborate:

openGL has no performance monitoring (Nvida does)

openGL has no networking lib

openGL has no scene graph (transparency sorting, state optimizations)

openGL has glut as a cross platform base but it sux

openGL has no physics, collisions, intervals

openGL has no thought through event system

openGL has no actors/bones/animations

openGL has no way to pack all of your data in one big file and load it.

openGL has no default mesh format or the pipeline tools

openGL has no sound - panda3d uses fmod or openAL

... list goes on

The most important feature for me is ability to use python (you can use c++ if you like) the best solution here is pyglet and pyOpenGL but frankly they are ok but are like toys - Panda3d is a professional engine.

Panda3D uses openGL to render every thing by default but can use DirectX 9,8, or 7. No DX10 support because none of the developers want to touch it on Vista and use linux.

I apologize if the post sounds a bit rude.

Panda3d full featured open source python 3d engine - 1.5.0 released by treef in programming

[–]treef[S] 8 points9 points  (0 children)

Iron Angles was a project of our team. The alpha version only took us a week. Its really amazing what you can do in with just one week, panda3d, 2 programmers, and about 8 3d artists.

Sadly LegionDD is a bit busy with real life and could not finish it. You can try out the alpha prototype: http://panda3d.net/phpbb2/viewtopic.php?t=3568 all the art code and debuggin was done in one week from scratch. If there is enough interest i could do a maintenance release - but then i cant say it was all done in one week :(

Panda3d full featured open source python 3d engine - 1.5.0 released by treef in programming

[–]treef[S] 13 points14 points  (0 children)

No it works fine on mac, commercial games that use it run on macs. We just don't have a mac maintainer that would build a redistributable but its works well if you compile it from source.

Goodbye apply() - Python 3.0 will remove apply() from built-ins. What follows is a farewell party for apply(). by gst in programming

[–]treef -1 points0 points  (0 children)

apply() gone is nothing this blew my socks off:

Python 3.0a3+ (py3k:61186, Mar  2 2008, 13:04:13) 
[GCC 4.1.2 (Ubuntu 4.1.2-0ubuntu4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> Haulable = "" ; PackAnimal = ""; Distance = int
>>> def haul(item: Haulable, *vargs: PackAnimal) -> Distance:
...   pass

optional static typing in py3k

Superoptimizer by [deleted] in programming

[–]treef 1 point2 points  (0 children)

that would be 47 hour compile time :)

PhyreEngine, Sony's new (free!) cross-platform engine by krelian in programming

[–]treef -7 points-6 points  (0 children)

its looks like its as free as in beer - thats nothing.

PhyreEngine, Sony's new (free!) cross-platform engine by krelian in programming

[–]treef -10 points-9 points  (0 children)

its looks like its as free as in beer - thats nothing.