To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.dat.partsOpen lugnet.cad.dat.parts in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / LDraw Files / Parts / 3289
3288  |  3290
Subject: 
Re: JAVA - Viewer for dat-Files
Newsgroups: 
lugnet.cad, lugnet.cad.dat.parts
Date: 
Sun, 27 Jan 2002 11:10:08 GMT
Viewed: 
292 times
  
"Bernd Broich" <bernd.broich@online.de> schrieb im Newsbeitrag news:GqJq1r.7G4@lugnet.com...
I tried this out, and you can do it too: I added some code, that shares the
geometries, and the appearances as far as possible.
Just change in the Show-class every 'SubFile' to 'Element'. The coloring
doesn't work fine at the moment, but this doesn't matter to the problem
above.

The fact is: Loading is a little bit faster, but memory is used much more
and the drawing/rotating speed gets low.

The memory you save with the sharing of geometries get exhausted by the
memory that the shapes, the transformgroups and the appearances need.

I also tried out the stripifier, that cames with j3d:

A Model without stripifying needs about 34MB, with stripifying 134MB.

It's very interesting.

So the program itself without any model loaded allocates 16MB.



Message has 1 Reply:
  Re: JAVA - Viewer for dat-Files
 
(...) Hmmm. I haven't done any extensive testing, but I tried to load a (relatively large) model into your app yesterday. It ran for over an hour without displaying anything. Win2k Resized my pagefile 3 times, and the JVM got up to 300MB (my machine (...) (23 years ago, 28-Jan-02, to lugnet.cad, lugnet.cad.dat.parts)

Message is in Reply To:
  Re: JAVA - Viewer for dat-Files
 
"Kyle McDonald" <kmcdonald@bigfoot.com> schrieb im Newsbeitrag news:3C519D02.204090...oot.com... Hi, for how I'm doing the internal creating: I did a depth search with hashing the files, create two shapes for all lines, quads, triangles, each (...) (23 years ago, 26-Jan-02, to lugnet.cad, lugnet.cad.dat.parts)

20 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR