Closed Thread Icon

Topic awaiting preservation: Links to 3d algorithms? (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=27038" title="Pages that link to Topic awaiting preservation: Links to 3d algorithms? (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Links to 3d algorithms? <span class="small">(Page 1 of 1)</span>\

 
whisperstorm
Nervous Wreck (II) Inmate

From: California
Insane since: Jul 2004

posted posted 11-23-2005 06:43

I'm starting to poke around with Firefox's Canvas widget, and I was fishing around for simple 3d routines or other code snippets I might try out using the new tag. Does anyone have links to basic 3d routines?

--- RPG Fan ---

TwoD
Bipolar (III) Inmate

From: Sweden
Insane since: Aug 2004

posted posted 11-23-2005 17:25

Go to WikiPedia and search for 3D rendering and you'll get tons of stuff.

Then you also have flipcode.com which teaches you the arts of demo making. It's for C/C++ I think but it can easily be applied to other languages since the maths behind it is explained very well.

GameDev.net also have a lot of information on games development and 3D in general.

/TwoD

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 11-23-2005 18:48

www.gamedev.net

if you want to read a book, i can highly recommend this one: http://www.hearnbaker.com/

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 11-27-2005 16:36

i just found this on slashdot:

http://www.abrahamjoffe.com.au/ben/canvascape/

this guy uses the canvas element to create a simplistic FPS shooter in the mozilla engine.

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

posted posted 11-27-2005 17:09
quote:
i just found this on slashdot:
http://www.abrahamjoffe.com.au/ben/canvascape/
this guy uses the canvas element to create a simplistic FPS shooter in the mozilla engine.

Damn, he's been /.ed. I should really release 3D Tomb II ( which I did in 2003 and wanted to release at the5k 2004 ), and use the engine to make a full fledged game à la Wolfenstein 3D or Doom.

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 11-27-2005 23:43

so, what's keepin you from releasing it, poi?

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

posted posted 11-28-2005 00:18

the incredible number of hours I've spent on it, and the fact that I began it on IE and thus use a method ( aka "let's update ~1,000 DIVs tags per frame" ) that make the other browsers crawl. But I've just ordered a domain name for it so now, I have to do something with it. I wish I could make something as cool as Wolfenstein on Atari ST.

liorean
Bipolar (III) Inmate

From: Umeå, Sweden
Insane since: Sep 2004

posted posted 11-28-2005 00:30

Poi: You're updating divs already in the document tree? Tried the "clone nodes - do all work on clones - replace old node tree" approach?

I'm not the graphics specialist and really have no idea what performance that would give, but I've seen it used very efficiently on table manipulations compared to letting the browser rerender as it sees fit.



Oh, and since you might find it interesting, bug 188195 in Opera BTS is about the performance of that example. I take it you've got BTS access
--
var Liorean = {
abode: "http://liorean.web-graphics.com/",
profile: "http://codingforums.com/member.php?u=5798"};

(Edited by liorean on 11-28-2005 00:33)

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

posted posted 11-28-2005 01:09

liorean: yep, there's ~2,100 DIV in the tree, 99% of them are completely static ( only their background color is updated ), so I doubt juggling with the DOM tree would be faster.

I'll check the BTS tomorow.

whisperstorm: You could also have a look at http://freespace.virgin.net/hugo.elias/. Sorry to have spoiled your thread.



(Edited by poi on 11-28-2005 01:12)

whisperstorm
Nervous Wreck (II) Inmate

From: California
Insane since: Jul 2004

posted posted 11-29-2005 05:19

No problem! This is great stuff. I actually discovered that canvascape link on the canvas twiki and sent it to digg, which then got it picked up by slashdot, so I feel responsible

If you redid your wolfenstein game in canvas - I'd send you a Yahoo t-shirt (where I work...)

BTW I've set up a mailing list for canvas developers here:

http://groups.yahoo.com/group/canvas-developers/

--- RPG Fan ---

(Edited by whisperstorm on 11-29-2005 05:20)

liorean
Bipolar (III) Inmate

From: Umeå, Sweden
Insane since: Sep 2004

posted posted 11-29-2005 05:42

Never done much in the way of graphics before. Playing around with canvas is fun!

--
var Liorean = {
abode: "http://web-graphics.com/",
profile: "http://codingforums.com/member.php?u=5798"};

poi
Paranoid (IV) Inmate

From: Norway
Insane since: Jun 2002

posted posted 11-29-2005 09:36

whisperstorm: Haven't yet played with canvas. Last time I install FF1.5rc? on my laptop all my extensions went poof, and the canvas support in Op9beta is still ... well ... in beta. So far, I planed to make a new engine ( for the 5th time ) using a few DIVs and a big data: URI image. Will it be enough to get a Yahoo! t-shirt ?

whisperstorm+liorean: It's small small world, we're living in.

liorean
Bipolar (III) Inmate

From: Umeå, Sweden
Insane since: Sep 2004

posted posted 11-29-2005 12:42

Well, I've played with canvas a bit, and so far ff1.5 and op9 seems to be about the same level of support - they both have severe problems with some things. I think op9 is actually the one that behaves closest to what the spec says, though.

--
var Liorean = {
abode: "http://web-graphics.com/",
profile: "http://codingforums.com/member.php?u=5798"};

whisperstorm
Nervous Wreck (II) Inmate

From: California
Insane since: Jul 2004

posted posted 11-29-2005 23:34

Supposedly FF 1.5 is going to be out sometime today - and then all the extensions will be able to release their updated versions. I'm keen on doing it with canvas because basically I want to see how it's done + possibly use it with other things. Perhaps once 1.5 is out and you have given it a try?

What I've done regarding extensions is no install 1.5 over top of my 1.0.7 but put it in a different location - when I want the ext.s I load 1.0.7 and when I want to play with E4X and canvas, I launch the other...

However after today perhaps things will not have to be so separated.

I'm curious to see what you think of canvas and if it's performance is any better or worse than your data: url method.

But yeah, even if you did the wolf engine with data: I'd still send yah the t-shirt

--- RPG Fan ---

« BackwardsOnwards »

Show Forum Drop Down Menu