Submit
In response to geometric problem
8e228221453de890daa003b067fbb84a
0
fringe 101 May 05, 2003 at 21:57

hmmm, makes sence to me you basically do this right?

Normalise(matrixBefore*corner - MatrixAfter*corner) is the direction of the new particle

fringe

In response to geometric problem
0684f9d33f52fa189aad7ac9e8c87510
0
baldurk 101 May 05, 2003 at 18:15

btw (OT) apex: you should put your avatar on devmaster.net

In response to I love asm...
590e8bdac8129bd87b188df15e62d0e5
0
CyraX 101 May 05, 2003 at 14:15

Have you seen the Assembly output(read: junk) that dear VC++ produces; YUCK!!!
Assembly rulez - however Intel Compilers are making life difficult.
Still there is nothing like what a man can do - optimizing using a compiler is always a shortcut.

In response to no pay project work?
590e8bdac8129bd87b188df15e62d0e5
0
CyraX 101 May 05, 2003 at 14:12

As a student I believe that having a project to your name is VERY important - paid or unpaid is nobody’s concern.
However u do a project @ Ensemble/ID (you are a god)/ Blizzard you have an extra punch.
One suggestion HR guyz are helpful in variety ways - infact they are one of those bunch of ppl who are overlooked and underestimate. I know this from having seeing the many HR goodies and badies…
Maybe you could make it a point in it.

In response to I like C
590e8bdac8129bd87b188df15e62d0e5
0
CyraX 101 May 05, 2003 at 14:08

I accept that clean code is very important.
that was exactly why I said - I USE C++ classes… nothing else is required.
Did you ever try playing Q ]I[ on a system that sucks? Perhaps that is when you would realise that speed is important. Without speed your game play goes for a toss. Without Game play - well err… I guess everyone understands.
I never said C++ sux or otherwise… I only said C style coding is good.

In response to geometric problem
F7a4a748ecf664f189bb704a660b3573
0
anubis 101 May 05, 2003 at 12:38

well for more complex objects than a cube it would be waste of memory to store that object twice

In response to geometric problem
Fdbdc4176840d77fe6a8deca457595ab
0
dk 158 May 05, 2003 at 12:27

if you are dealing with only position, why would you need a matrix? Why not have variables that store the old position and new one?

In response to IRC reminder
0684f9d33f52fa189aad7ac9e8c87510
0
baldurk 101 May 03, 2003 at 19:34

irc.enterthegame.com:6667 #devmaster

In response to IRC reminder
Baaecfb3a09127d5bc5045f89025e49e
0
UnknownStranger 101 May 03, 2003 at 19:12

This site has a IRC channel? Nice B)

Where can I find you? :)

In response to stl and boost
0684f9d33f52fa189aad7ac9e8c87510
0
baldurk 101 May 03, 2003 at 18:39

to me, that code is really fugly.

In response to IRC reminder
F7a4a748ecf664f189bb704a660b3573
0
anubis 101 May 03, 2003 at 18:32

and btw…
today is the meeting (community game project) 9:30 GMT. please show up if you can find time

In response to stl and boost
Fdbdc4176840d77fe6a8deca457595ab
0
dk 158 May 03, 2003 at 18:31

nice one :)

In response to IRC reminder
0684f9d33f52fa189aad7ac9e8c87510
0
baldurk 101 May 03, 2003 at 18:04

I was temporarily away ;)

In response to IRC reminder
F7a4a748ecf664f189bb704a660b3573
0
anubis 101 May 03, 2003 at 14:49

hey, baldurk where the hell are you ??? i nearly burned my fingers getting into the channel and now… :)

In response to IRC reminder
F7a4a748ecf664f189bb704a660b3573
0
anubis 101 May 03, 2003 at 14:25

sorry, i was online most of the time. my client crashed last week and i forgot to rejoin and look at the channel
i’ll be back though. thx, for reminding

In response to stl and boost
F7a4a748ecf664f189bb704a660b3573
0
anubis 101 May 03, 2003 at 14:04

solved it…
strange that this error never occured before.
the problem was that stlport redefines std to _STL but imports type_info from the vendor stl which somehow confused boost because it was looking for type_info in _STL and not in std.
anyway i configured stlport not to redefine it’s namespace and now it works.

In response to I like C
Baaecfb3a09127d5bc5045f89025e49e
0
UnknownStranger 101 May 03, 2003 at 09:31

Oops…maybe I should read former posts, before just posting my own opinion… B)

In response to I like C
F7a4a748ecf664f189bb704a660b3573
0
anubis 101 May 03, 2003 at 09:27

as i said. you have to find out were to use what.

In response to I like C
Baaecfb3a09127d5bc5045f89025e49e
0
UnknownStranger 101 May 03, 2003 at 08:20

Speed will always be a matter(that’s why asm is still used…)…
But today, it’s mostly much more important to have a clean, flexible code and short development times(that’s why asm is only used for single, easy to overview functions… :D )…

In response to I like C
F7a4a748ecf664f189bb704a660b3573
0
anubis 101 May 02, 2003 at 22:47

baldurk : i was just making a point that things that once were useful only in enterprise applications become more important in game development, too.

In response to I love asm...
0684f9d33f52fa189aad7ac9e8c87510
0
baldurk 101 May 02, 2003 at 17:14

it’s also useful when other languages aren’t available.

In response to I like C
0684f9d33f52fa189aad7ac9e8c87510
0
baldurk 101 May 02, 2003 at 17:11

anubis: I think you may be missing the point. You don’t have to use all of C++’s features to write OO code. Simply classes and most likely inheritance. That’s all

CyraX: I don’t know why, but I find that for more complicated memory allocation commands new is easier than malloc. Just my opinion though

In response to I love asm...
F7a4a748ecf664f189bb704a660b3573
0
anubis 101 May 02, 2003 at 14:55

hm, i like it too but you have to be good to beat modern compiler’s optimizations…

In response to I like C
F7a4a748ecf664f189bb704a660b3573
0
anubis 101 May 02, 2003 at 13:54

i object that speed is the primary concern in games. it might have been but times have changed and clean and easy to understand code has become more and more important as games and engines grow more and more complex. one good example is the nebula device from radonlabs. the virtual filesystem they created was only possible with oop. it’s just amazing to have every object, every texture, every mesh and shader accessible through the console ( look at it if you don’t know it, it’s a great engine ).
so, c++ is my prefered language. my general aproach when designing my code is to seperate it into two catogories.

  1. the code that is not speed sensitive, like loading resources, etc. here i use all the features that c++ gives me to write the cleanest code possible.
  2. parts of the game/engine where speed is important, here i still use c++ but try to minimize the use of polymorphism, virtual functions, etc.

in fact i believe that if you write good c++ code the speed problem is totally irelevant 90% of the time. if you are passing down 5000 triangles in one vertex buffer that one virtual function call won’t hurt you but will gvie you an easy way to abstract the gfx api you are using.

In response to I like C
590e8bdac8129bd87b188df15e62d0e5
0
CyraX 101 May 02, 2003 at 11:17

I like to use C++ - for organization.
I would NEVER dare to use Polymorphism - slows down the code. Inheritance - Building hte parent classes before my beloved class is instantiated.
C is more mature than C++. You need C++ ONLY for enterprise applications where speed is secondary. In gamez we have speed as the primary thing.
Anyone else feels that same?
I dont use “new” rather use malloc.
Everything that dear Bjarn Stroustrup said was for enterprises… not for us game developers :rolleyes:

Welcome to DevMaster, a community-driven game development website of posts and resources!

Recent Tags

indie × 5
game-development × 5
ios × 3
android × 3
algorithm × 1
effects × 1
physics × 1
iphone × 1
c# × 1
mobile × 1
physics-engines × 1
native × 1
macos × 1
sound × 1
music × 1
networking × 1
testing × 1
multiplayer × 1
design-patterns × 1
game-programming × 1
3d-engine × 1
shaders × 1
cross-platform × 1
gaming × 1
game-industry × 1