3D Parallel projection algorithm

Hi all,
I'm not sure if directing this question here is appropriate but you guys seem to know pretty much everything Java-oriented.
Basically I'm trying to do some parallel projection without using Java native classes. I am using "Introduction to Computer Graphics" by Foley et al as a guide. I follow the steps outlined in order to perform the parallel projection namely:-
1. Translate VRP to the origin;
2. Rotate VRC such that the n axis (VPN) becomes the z-axis, the u axis becomes the x axis, and the v axis becomes the y axis.
3. Shear such that the direction of projection becomes parallel to the z axis.
4. Translate and scale into the parallel-projection canonical view volume.
Each point has its own matrix which are multiplied together in order to create one big matrix. I think that I then need to take my original points and transform them by that matrix. The problem I keep getting is that when I try to transform the Point3D's x, y, z values are either NaN or Infinity. I've tried all different values but cannot seem to get it to work. My code is below.
If anyone could make head-or-tail just where the problem could lie I will be extremely grateful.
//no matter these three values are the damn thing doesn't work
Point3D vrp = new Point3D(0, 0, 0);
Vector3D vpn = new Vector3D(0, 0, 1);
Vector3D vup = new Vector3D(0, 1, 0);
public void orthogonalProjection(Point3D vrp, Vector3D dop, Vector3D vup){
         setPoints(); //sets points of house and stores them in an array
         Point3D p;
         int F = 1;
         int B = 0;
         int umin = -1;
         int umax = 17;
         int vmin = -1;
         int vmax = 17;
         //Translate VRP to the origin
         Matrix T = new Matrix();
         T.setTranslationMatrix(-vrp.x, -vrp.y, -vrp.z);
         //Rotate VRC such that the n-axis (VPN) becomes the z-axis, the u axis
         //becomes the x axis, and the v axis becomes the y axis.
         //vpn = dop in parallel projection
         Vector3D rz = dop.copy();
         rz.normalise();
         Vector3D rx = vup.crossProduct(rz);
            rx.normalise();
            Vector3D ry = rz.crossProduct(rx);
            Matrix R = new Matrix();
            R.m[0][0]=rx.x; R.m[0][1]=rx.y; R.m[0][2]=rx.z;
            R.m[1][0]=ry.x; R.m[1][1]=ry.y; R.m[1][2]=ry.z;
            R.m[2][0]=rz.x; R.m[2][1]=rz.y; R.m[2][2]=rz.z;
            //here we would shear but as orthographic it results in an identity matrix
            Matrix SHpar = new Matrix();
            SHpar.setIdentityMatrix();
            //translate centre of front clipping plane to origin
            Matrix Tpar = new Matrix();
            Tpar.setTranslationMatrix(-(umax + umin) / 2, -(vmax + vmin) / 2, -F);
            //scale into canonical view volume
            Matrix Spar = new Matrix();
            Spar.m[0][0] = 2 / (umax + umin);
            Spar.m[1][1] = 2 / (vmax + vmin);
            Spar.m[2][2] = 1 / (F - B);
            Spar.m[3][3] = 1;
            //multiply all matrices Npar = Spar.Tpar.SHpar.R.T(-VRP)
            //remembering that SHpar is only an identity
            //matrix.
            Matrix Npar = new Matrix();
            //multiply the matrices
            Npar = ((((Spar.multiplyMatrix(Tpar)).multiplyMatrix(SHpar)).multiplyMatrix(R)).multiplyMatrix(T));
            Npar.outputMatrix();
         //transform each point using the matrix
         for(int i = 0; i < pointArr3D.length;i++){
              p = pointArr3D;
          System.out.println("p.x before is " + p.x);
          System.out.println("p.y before is " + p.y);
          System.out.println("p.y before is " + p.z);
          //p.normalise();
          p.transform(Npar);
          System.out.println("p.x after is " + p.x);
          System.out.println("p.y after is " + p.y);
          System.out.println("p.y after is " + p.z);     
Thanks,
Chris

I ripped the following example from some old code of mine, so, for
the sake of the example lets call the axes r, g and b,where r sticks out
of your screen towards you, g goes from left to right and b points upwards.
Suppose you're looking at an object in a cube. The cube has size MAX
in all three dimensions and is located at the origin with one of its
cornerpoints, neatly alligned with the r, g, b axes.
Suppose your eyepoint is 'dist' away from the origin, delta rotated around
the b axis and phi rotated around the g axis. Let cf, sf, cd, sd be
cos(phi), sin(phi), cos(delta), sin(delta) respectively.
Also suppose that the focuspoint (the point the eye is staring at is) is
fr, fg, fb.
Finally, the picture should be SCALE pixels in both directions, translated
XOFS, YOFS from the origin.
Here are the little methods that finds the x and y coordinates for you:     private double rr, gg, bb;
     int xT(int r, int g, int b) {
          // scale and centre around the origin
          rr= ((double)r)/MAX-fr/MAX;
          gg= ((double)g)/MAX-fg/MAX;
          bb= ((double)b)/MAX-fb/MAX;
          // rotate around green axis
          double rrr= cf*rr-sf*gg;
          double ggg= sf*rr+cf*gg;
          double bbb= bb;
          // rotate around blue axis
          rr= cd*rrr-sd*bbb;
          bb= sd*rrr+cd*bbb;
          gg= ggg;
          double x= (dist*gg/(dist-rr)*SCALE+XOFS);
          // do the X projection
          return (int)x;
     int yT() {
          // do the Y projection
          return (int)(-dist*bb/(dist-rr)*SCALE+YOFS);
     }I hope this helps you out a bit.
kind regards,
Jos

Similar Messages

  • Document Management in two parallel projects

    Hello SOLMAN experts!
    My client has 2 BPH projects running in parallel: Project 1 & Project 2.
    Project 2 is a copy of Project 1. Both have project documentation assigned to Business Process Steps.
    For Project 1, due to the fact that it is running in parallel to the Project 2, my client needs to have a document management mechanism in place on how to deal with the two deployments in parallel.
    Can SOLMAN manage the following: if my client changes a document in Project 1, - the same document will be updated or changed accordingly in Project 2?
    Thank you.

    Hello Jansi,
    Thanks a lot for advice!
    Unfortunately my client is quite keen to keep parallel documentation for both projects and do not want to use links, is there other way to update documents in 2 parallel projects?
    If my client change a document in Project 1,  can the same document be updated or changed accordingly in Project 2?
    Kindly please advice,
    Thank you & best regards,

  • ImageJ 3D Viwer - Parallel Projection

    I am using the ImageJ with the 3D Viewer plugin API to create snapshot images of volumetric data.
    Does anyone know; how to use the 3D Viewer API to set the view as 'parallel projection' instead of the default 'perspective projection'?
    This option is available through the GUI when using the ImageJ program, but isn't recorded by the macro recorder.
    Thanks for any help.

    I ripped the following example from some old code of mine, so, for
    the sake of the example lets call the axes r, g and b,where r sticks out
    of your screen towards you, g goes from left to right and b points upwards.
    Suppose you're looking at an object in a cube. The cube has size MAX
    in all three dimensions and is located at the origin with one of its
    cornerpoints, neatly alligned with the r, g, b axes.
    Suppose your eyepoint is 'dist' away from the origin, delta rotated around
    the b axis and phi rotated around the g axis. Let cf, sf, cd, sd be
    cos(phi), sin(phi), cos(delta), sin(delta) respectively.
    Also suppose that the focuspoint (the point the eye is staring at is) is
    fr, fg, fb.
    Finally, the picture should be SCALE pixels in both directions, translated
    XOFS, YOFS from the origin.
    Here are the little methods that finds the x and y coordinates for you:     private double rr, gg, bb;
         int xT(int r, int g, int b) {
              // scale and centre around the origin
              rr= ((double)r)/MAX-fr/MAX;
              gg= ((double)g)/MAX-fg/MAX;
              bb= ((double)b)/MAX-fb/MAX;
              // rotate around green axis
              double rrr= cf*rr-sf*gg;
              double ggg= sf*rr+cf*gg;
              double bbb= bb;
              // rotate around blue axis
              rr= cd*rrr-sd*bbb;
              bb= sd*rrr+cd*bbb;
              gg= ggg;
              double x= (dist*gg/(dist-rr)*SCALE+XOFS);
              // do the X projection
              return (int)x;
         int yT() {
              // do the Y projection
              return (int)(-dist*bb/(dist-rr)*SCALE+YOFS);
         }I hope this helps you out a bit.
    kind regards,
    Jos

  • Mouse coord to virtual world - Parallel projection

    Hi,
    I've been able to do it in Perspective projection the code above. Why does'n it work the same with Parallel projection? The point where new geometry is added doesn't correspond to the mouse point on screen...
    public Point3d getCanvasPtToVworldPt(int x, int y) {
    if(view.getProjectionPolicy()==View.PERSPECTIVE_PROJECTION){
    Point3d VworldPt = new Point3d();
    Point3d centerEyePt = new Point3d();
    // convert the canvas point to ImagePlate coords
    cv.getPixelLocationInImagePlate(x, y, VworldPt);
    // transform the point from an imageplate coordinate to a Vworld
    // coordinate
    Transform3D imagePlateToVworld = new Transform3D();
    cv.getImagePlateToVworld(imagePlateToVworld);
    imagePlateToVworld.transform(VworldPt);
    cv.getCenterEyeInImagePlate(centerEyePt);
    imagePlateToVworld.transform(centerEyePt);
    double alpha = 0.0;
    if (VworldPt.z != centerEyePt.z) {
    alpha = centerEyePt.z / (VworldPt.z - centerEyePt.z);
    Point3d planePt = new Point3d(
    centerEyePt.x - alpha * (VworldPt.x - centerEyePt.x),
    centerEyePt.y - alpha * (VworldPt.y - centerEyePt.y),
    0.0); //centerEyePt.z - beta * (VworldPt.z - centerEyePt.z )
    return planePt;
    thanks

    Hi,
    I am unsure of what you mean by perspective and parallell projection. I am relatively new to Java3D and am unfamiliar with these terms.
    I think I am trying to solve a similar problem to you so maybe we can help each other as I suspect both our answers relate to [Transform3D|http://download.oracle.com/docs/cd/E17802_01/j2se/javase/technologies/desktop/java3d/forDevelopers/J3D_1_3_API/j3dapi/index.html].
    In my case, I am simply trying to move a point in the scene. I am able to get this to work when in top down view and the default zoom. However, when the scene is rotated or scaled the coordinates do not match up. Is this the same issue you are dealing with?
    The Transform3D has a 4x4 matrix that I believe stores the current views "translations, rotations, and scaling and shear effects". If we are able to understand this matrix then we should be able to perform some math to match up the coordinates.
    If this isn't the issue you are dealing with, I apologise for the response but things seem to move slowly on this forum.

  • RH 11 hangs when trying to compile parallel projects.

    I'm using RH11, HTML Help. Help is compiled in automatic build environment using command prompt. RH hangs when trying to compile parallel projects in different sessions.

    Hi Peter,
    Thanks for the quick response. Here are a few more information:
    We are using RH in a build server environment, not the UI, but the RHCL compiler directly. When RH is invoked, each compiler runs in its own process.
    I would assume that command prompt compilation in a build server environment is fairly common in SW engineering.
    I should also mention that this process worked perfectly fine with RH9. Since we upgraded to RH11 recently, the build generation process hangs directly after issuing the RH command prompt. The strange thing is that the hang-up occurs frequently, but not all the time. There are no error messages whatsoever that could give us a hint about the reason for this error.
    We suspect that Adobe has changed their sign-in process because the process stops at such an early stage.
    Any ideas?
    Thanks!

  • New Development project  in the middle of  ECC EHP7 upgrade project

    Hi All,
    We are performing ECC EHP7 upgrade project in our project system landscape and i have already started Dev system upgrade.Suddenly our development team wants to perform new project  which required to install add-on product from third party application. Installing new add-on will require us to regenerate stack.xml file right? if that is the case  do we need to perform re upgrade to Dev right?. As per my knowledge this is not recommended to perform parallel project with upgrade project.
    Is there any  best practice or recommended method to perform multiple projects with upgrade project at the same time.
    Thanks,
    Raghu

    Hi Raghu,
    First here i would like to suggest you & your development team i.e during an upgrade project dual maintenance is required as per SUM guide,as per SUM guide you need to maintain parallel systems to perform regular activities, for same you could refer SUM guides and follow the standard procedures.
    Installing new add-on will require us to regenerate stack.xml file right?
    Yes you need to regenerate the stack.xml file .
    if that is the case  do we need to perform re upgrade to Dev right?
    If you are under upgrade phase no need to perform re upgrade,required add on can be installed after completion of an upgrade as per availability for EHP7.
    Try to avoid perform multiple projects with upgrade project .
    Regards,
    Gaurav

  • How to Change the Garbage Collection Algorithm in WLS 9..2

    Hi All
    I am trying to find out the way to configure the GC algorithm in weblogic 9.2 to type bea.Jmapi.GarbageCollector@.
    By default it is showing ‘Nursery, parallel mark, parallel sweep’ . We were trying to change it to generational (two-spaced) with a parallel mark algorithm and a concurrent sweep algorithm or bea.Jmapi.GarbageCollector .
    To change the same I modified the memory argument in commenv.cmd to set MEM_ARGS=-Xms128m -Xmx256m -XXsetGC:genparcon
    Still Garbage Collection Statistics section in web logic console shows the same default value.
    Could anyone tell me if I am missing something?
    thanks in advance

    There is nothing is WebLogic that will define the JVM GC algorithm, that is up to the JVM settings that are normally configured using params in the start scripts.
    If you are using JRockit, you can ask in the forums but the JVM documentation should really be sufficient.
    JRockit
    Same thing for the Sun JVM, there is lots of information out there on how to change the GC algorithm.
    The thing that is nice about JRockit is that you can use the Mission Control tooling to take recordings, look at the GC's and make adjustments easily. Sun has some tooling as well with jvmstat (and visualgc), but I'm not as familiar with it.
    http://java.sun.com/performance/jvmstat/
    Both of those tools would be much preferred to printing the GC info to a file and trying to parse it in my opinion.

  • Project Management and Financial Management

    Hello,
    Our Federal client uses WBS for Inter-Agency Agreements, They use a simple structure to collect costs and define budget availability at the WBS level.  They also have a need for a Project Management tool, with milestones, resource tracking, etc.  However, this would not easily integrate into the way that they use WBS for financial purposes due to the structure that the business needs have for a higher level Project Management approach.  The WBS currently represent individual agreements, whereas the Project Management function would span many agreements.  The agency would not like to move away from the current financial structure.
    What I'm wondering is if there is a way to either forward or somehow statistically shadow the WBS that are used for financial purposes into a parallel Projects setup.  Is that possible?  I know that you can have a cost center and statistical WBS, but don't know if there's a way to do it with two Projects structures.  Please let me know your thoughts / suggestions.
    Best regards,
    Tony

    hello Tony,
    What I can say. Maybe you should use SAP PPM as a operational Project Management tool and integrate it with WBS elements and projects in SAP PS. Probably it will be the best solution for you.
    The second way is to use a second project structure for project management as you wrote, with different number of this project. So you will have 2 structures one for actual posting of costs and the second for rest management needs and statistical posting of costs. Probably you will need CO substitution for posting of costs to post costs on these 2 structures.
    There will be many other conditions to get right solution but I think this 2 ways are possible.
    Adam

  • Projects vs Albums vs folders

    Hi
    How do you guys organize your photos?
    Im thinking about having 1 project per year and create albums for "events" like trips, birthday parties... you name it
    Tell us a little about your organizing workflow!
    Thanks

    It sounds as though you did not read what I posted at the second of the two links I pasted in for you. I recommend it .
    The task you face is to create an +access structure+ for your images.
    Your images must be in a container.
    You can have as many containers as you like. Almost everyone prefers having more than one.
    You can group those containers. Group them so that you can find them more readily. (Remember, you are creating an +access structure+ .)
    The +access structure+ can, and imho, should be different from your +output structure+. I suggest that you put your images in one place in order to retrieve them, and that you put virtual copies of the retrieved images in another place when you are preparing them for output.
    In Aperture, the container through which you access you images is called a Project. This is, imho, indescribably poorly named -- but the name is a given, and is immutable. No matter what, your images have to go somewhere -- stick them in these containers called "Projects".
    Group your "Projects" using Folders.
    When you have a project (small "p") for which you will be preparing and outputting images, create an Album. If you have parallel projects (small "p"), use Folders to group them by kind.
    You'll end up with two "trees" in your Aperture garden:
    . a nested Folder tree of containers which hold your images: those containers are Projects
    . a nested Folder tree of containers which your projects (small "p"): those containers are Albums
    That's (basically) what I do. Read through the long posts linked above for more.
    The number one suggestion I have is to cleanse your mind of the misleading label "Project". Just think of them as bins which hold your images. Make each bin hold a shoot (much like a "roll" -- if you've ever seen those antediluvian strips of sprocketed plastic) and you'll be well on your way to working with Aperture in a way that is simple and smooth.

  • Parallel Transport Mechanism

    Hi,
    We are planning to have a parallel landscape solution of ECC 6.0 for our client.
    Existing landscape--  DEV>QA>PRD
    Parallel Landscape--  DEV1--QA1
    Whatever we design we will transport in the following path:
    DEV1-->QA1
    Then the objects will be transported from QA1-->DEV
    As the transports reach DEV it would follow the existing route:
    DEV>QA>PRD
    Client has reviewed the proposed parallel landscape solution with their technical architect and would like to understand how we propose to handle the system ownership of transports.  Each transport is stamped with the SID of the originating system. Once we move these transports into existing Development, then we will not be able to change the configuration / code of the transport.  How do you propose that we can regain ownership of the configuration / code once in the existing landscape?
    Proposal given by us to the client:
    The ownership of the transports from Parallel/project landscape to existing landscape can be achieved in multiple ways by Basis function; following SAP standard options are generally followed.
    Option 1 - Transports from a system originates with SID and owner ship of the user. When we import this transport to another system, selectively Basis can help to modify and regain the owner ship of the particular transport. The prerequisite for this is the old developer should exist in the system.
    Option 2 - We can create a new transport and add the imported transport/objects to new transport request to gain the ownership of the objects of the transport.
    Is these the correct options??Is there any other way we can maintain the ownership of the transports??Please guide & suggest me.

    The rekeying (also called dual maintenance) of Business as Usual transports that have reached Production back into your Project landscape, is definitely advisable, as it will ensure that the two landscapes are kept consistent and in sync, and you do not hit unexpected issues when your project cuts over to your BAU landscape that you did not see during Project test phase.
    However doing this rekeying manually can be an extremely time-consuming and human-error prone activity, and often introduces new issues and inconsistencies.
    As already mentioned by Ashutosh, tools like  Transport Express can automate this activity.
    TE Merge capability automatically creates new transports for the objects contained in the BAU transports, and puts them into the Project landscape, avoiding the need for developers to do it manually. You can see a demo of how TE’s Agile Multi-track development functionalities can help make your organisation more efficient and avoid the need for manual rekeying on your multi-tier landscape on the BTI website
    http://www.basistechnologies.com/online-demos
    If you are interested in finding our more about TE, please contact us via our website.
    Thanks
    Ross McLanachan
    http://www.basistechnologies.com/
    For transparency, I should state that I work with Basis Technologies, the software vendor behind Transport Express and other SAP-certified products. Prior to this, I spent almost a decade working in various SAP Change & Release and other delivery roles for a large global SAP consultancy, and so know first-hand the many faced by many SAP customers still delivering their SAP Change using largely manual processes

  • Advice for a newbie about Bea Product

    Hi everybody,
    I'm going to start a financial project. It's a software that basically will do a lot of math calculation. It will be developed using java in client/server architteture, with a "web server" (like BEA) and a browser as client (well I really summarize in few steps).
    Anyway my question is: I would like create a cluster of computer to share the power calculation, is BEA able to do that? I mean if I start a big calc which use 60% of cpu power, is bea able to share, if an example I have 3 computer, 20% for each computer?
    Can you please advice me which product I have to use?
    thanks a lot
    nibe

    Sounds like a "grid computing" style problem to me: You essentially want to solve a single complex problem by parallelizing the algorithm and recombining the constituent partial results to complete the result. The right tool for the job depends a lot on the specifics of the algorithm and how amenable it is to parallelization of various sorts. For instance, if you are trying to do real time calculations on parallel incoming streams of data, you might want to look at WebLogic Event Server. If you are doing a classic grid calculation, where the parallelization is in the algorithm itself, you might look at any of the Grid toolkits available in the open source community, or commercial products sold by various vendors that do this kind of parallelization and workload scheduling. If is is simply a matter of distributing the load across processing nodes of like kind, you should be able to do this with a workload balancer like we have in the upcoming WebLogic Operation Control, or simply in a WebLogic cluster.
    Hope that helps a little.
    S~

  • What's the best way to create a "texture-snapshot" of a 3D plane?

    Hello, my intention is to use a top view, set in parallel projection, with axis x=0,y=100,z=0 for picking up a snapshot of a 3D plane positioned at origin, obviously "y" depends by dimensions of the plane (I have also problems to understand why I must use View.setScreenScale to obtain a depth effect).
    The problem comes when I want to grab an hi-res screenshot image, because the texture size is always limited by the monitor size.
    I tried using some offscreen buffer, but it seems that it must be of the same size of the source onscreen canvas... so in brief how can I create a topographic texture?

    This is PhotoMerge result
    This is WLPG
    This is a manual merge
    Before anyone comments on the poor image quality, I know. Its not my photography.
    The beach huts were in an arc which doesn't help.
    You can see that the photomerged image has not 'understood' the image and has bad destortion on the doors of some huts. The blend lines are also visible

  • High cpu usage for garbage collection (uptime vs total gc time)

    Hi Team,
    We have a very high cpu usage issue in the production.
    When we restart the server, the cpu idle time would be around 95% and it comes down as days goes by. Today idle cpu is 30% and it is just 6th day after the server restart.
    Environemnt details:
    Jrockit version:
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
    BEA WebLogic JRockit(TM) 1.4.2_05 JVM R24.4.0-1 (build ari-38120-20041118-1131-linux-ia32, Native Threads, GC strategy: parallel)
    Gc Algorithm: JRockit Garbage Collection System currently running strategy: Single generational, parallel mark, parallel sweep
    Number Of Processors: 4
    Max Heap Size: 1073741824
    Total Garbage Collection Time: 21:43:56.5
    Uptime: 114:33:4.1
    Total Garbage Collection Count: 420872
    Total Number Of Threads: 198
    Number Of Daemon Threads: 191
    Can you guys please tell me what would be problem in the server which causing the high cpu usage?
    One more thing I would like to know is that why the total number of threads is 198 when we specified the Executor pool size as 25? I agree that weblogic would create some threads for its maintenance but around 160 threads!!! something is wrong I guess.
    Santhosh.
    [email protected]

    Hi,
    I'm having a similar problem, but haven't been able to resolve it yet. Troubleshooting is made even harder by the fact that this is only happening on our production server, and I've been unable to reproduce it in the lab.
    I'll post whatever findings I have and hopefully we'll be able to find a solution with the help of BEA engineers.
    In my case, I have a stand-alone Tomcat server that runs fine for about 1-2 days, and then the JVM suddenly starts using more CPU, and as a result, the server load shoots up (normal CPU utilization is ~5% but eventually goes up to ~95%; load goes from 0.1 to 4+).
    What I have found so far is that this corresponds to increased GC activity.
    Let me list my environment specs before I proceed, though:
    CPU: Dual Xeon 3.06GHz
    RAM: 2GB
    OS: RHEL4.4 (2.6.9-42.0.2.ELsmp)
    JVM build 1.5.0_03-b07 (BEA JRockit(R) (build dra-45238-20050523-2008-linux-ia32, R25.2.0-28))
    Tomcat version 5.5.12
    JAVA_OPTS="-Xms768m -Xmx768m -XXtlasize16k -XXlargeobjectlimit16k -Xverbose:memory,cpuinfo -Xverboselog:/var/log/tomcat5/jvm.log -Xverbosetimestamp"
    Here are excerpts from my verbose log (I'm getting some HT warning, not sure if that's a problem):
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Detected SMP with 2 CPUs that support HT.
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Trying to determine if HT is enabled.
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Trying to read from /dev/cpu/0/cpuid
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Warning: Failed to read from /dev/cpu/0/cpuid
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Trying to read from /dev/cpu/1/cpuid
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Warning: Failed to read from /dev/cpu/1/cpuid
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] HT is: supported by the CPU, not enabled by the OS, enabled in JRockit.
    [Fri Oct 20 15:54:18 2006][22855][cpuinfo] Warning: HT enabled even though OS does not seem to support it.
    [Fri Oct 20 15:54:55 2006][22855][memory ] GC strategy: System optimized over throughput (initial strategy singleparpar)
    [Fri Oct 20 15:54:55 2006][22855][memory ] heap size: 786432K, maximal heap size: 786432K
    [Fri Oct 20 16:07:30 2006][22855][memory ] Changing GC strategy to generational, parallel mark and parallel sweep
    [Fri Oct 20 16:07:30 2006][22855][memory ] 791.642-791.874: GC 786432K->266892K (786432K), 232.000 ms
    [Fri Oct 20 16:08:02 2006][22855][memory ] 824.122: nursery GC 291998K->274164K (786432K), 175.873 ms
    [Fri Oct 20 16:09:51 2006][22855][memory ] 932.526: nursery GC 299321K->281775K (786432K), 110.879 ms
    [Fri Oct 20 16:10:24 2006][22855][memory ] 965.844: nursery GC 308151K->292222K (786432K), 174.609 ms
    [Fri Oct 20 16:11:54 2006][22855][memory ] 1056.368: nursery GC 314718K->300068K (786432K), 66.032 ms
    [Sat Oct 21 23:21:09 2006][22855][memory ] 113210.427: nursery GC 734274K->676137K (786432K), 188.985 ms
    [Sat Oct 21 23:30:41 2006][22855][memory ] 113783.140: nursery GC 766601K->708592K (786432K), 96.007 ms
    [Sat Oct 21 23:36:15 2006][22855][memory ] 114116.332-114116.576: GC 756832K->86835K (786432K), 243.333 ms
    [Sat Oct 21 23:48:20 2006][22855][memory ] 114841.653: nursery GC 182299K->122396K (786432K), 175.252 ms
    [Sat Oct 21 23:48:52 2006][22855][memory ] 114873.851: nursery GC 195060K->130483K (786432K), 142.122 ms
    [Sun Oct 22 00:01:31 2006][22855][memory ] 115632.706: nursery GC 224096K->166618K (786432K), 327.264 ms
    [Sun Oct 22 00:16:37 2006][22855][memory ] 116539.368: nursery GC 246564K->186328K (786432K), 173.888 ms
    [Sun Oct 22 00:26:21 2006][22855][memory ] 117122.577: nursery GC 279056K->221543K (786432K), 170.367 ms
    [Sun Oct 22 00:26:21 2006][22855][memory ] 117123.041: nursery GC 290439K->225833K (786432K), 69.170 ms
    [Sun Oct 22 00:29:10 2006][22855][memory ] 117291.795: nursery GC 298947K->238083K (786432K), 207.200 ms
    [Sun Oct 22 00:39:05 2006][22855][memory ] 117886.478: nursery GC 326956K->263441K (786432K), 87.009 ms
    [Sun Oct 22 00:55:22 2006][22855][memory ] 118863.947: nursery GC 357229K->298971K (786432K), 246.643 ms
    [Sun Oct 22 01:08:17 2006][22855][memory ] 119638.750: nursery GC 381744K->322332K (786432K), 147.996 ms
    [Sun Oct 22 01:11:22 2006][22855][memory ] 119824.249: nursery GC 398678K->336478K (786432K), 93.046 ms
    [Sun Oct 22 01:21:35 2006][22855][memory ] 120436.740: nursery GC 409150K->345186K (786432K), 81.304 ms
    [Sun Oct 22 01:21:38 2006][22855][memory ] 120439.582: nursery GC 409986K->345832K (786432K), 153.534 ms
    [Sun Oct 22 01:21:42 2006][22855][memory ] 120443.544: nursery GC 410632K->346473K (786432K), 121.371 ms
    [Sun Oct 22 01:21:44 2006][22855][memory ] 120445.508: nursery GC 411273K->347591K (786432K), 60.688 ms
    [Sun Oct 22 01:21:44 2006][22855][memory ] 120445.623: nursery GC 412391K->347785K (786432K), 68.935 ms
    [Sun Oct 22 01:21:45 2006][22855][memory ] 120446.576: nursery GC 412585K->348897K (786432K), 152.333 ms
    [Sun Oct 22 01:21:45 2006][22855][memory ] 120446.783: nursery GC 413697K->349080K (786432K), 70.456 ms
    [Sun Oct 22 01:34:16 2006][22855][memory ] 121197.612: nursery GC 437378K->383392K (786432K), 165.771 ms
    [Sun Oct 22 01:37:37 2006][22855][memory ] 121398.496: nursery GC 469709K->409076K (786432K), 78.257 ms
    [Sun Oct 22 01:37:37 2006][22855][memory ] 121398.730: nursery GC 502490K->437713K (786432K), 65.747 ms
    [Sun Oct 22 01:44:03 2006][22855][memory ] 121785.259: nursery GC 536605K->478156K (786432K), 132.293 ms
    [Sun Oct 22 01:44:04 2006][22855][memory ] 121785.603: nursery GC 568408K->503635K (786432K), 71.751 ms
    [Sun Oct 22 01:50:39 2006][22855][memory ] 122180.985: nursery GC 591332K->530811K (786432K), 131.831 ms
    [Sun Oct 22 02:13:52 2006][22855][memory ] 123573.719: nursery GC 655566K->595257K (786432K), 117.311 ms
    [Sun Oct 22 02:36:04 2006][22855][memory ] 124905.507: nursery GC 688896K->632129K (786432K), 346.990 ms
    [Sun Oct 22 02:50:24 2006][22855][memory ] 125765.715-125765.904: GC 786032K->143954K (786432K), 189.000 ms
    [Sun Oct 22 02:50:26 2006][22855][memory ] 125767.535-125767.761: GC 723232K->70948K (786432K), 225.000 ms
    vvvvv
    [Sun Oct 22 02:50:27 2006][22855][memory ] 125768.751-125768.817: GC 712032K->71390K (786432K), 64.919 ms
    [Sun Oct 22 02:50:28 2006][22855][memory ] 125769.516-125769.698: GC 711632K->61175K (786432K), 182.000 ms
    [Sun Oct 22 02:50:29 2006][22855][memory ] 125770.753-125770.880: GC 709632K->81558K (786432K), 126.000 ms
    [Sun Oct 22 02:50:30 2006][22855][memory ] 125771.699-125771.878: GC 708432K->61368K (786432K), 179.000 ms
    So, I'm running with the default GC strategy which lets the GC pick the most suitable approach (single space or generational). It seems to switch to generational almost immediately and runs well - most GC runs are in the nursery, and only once in a while it goes through the older space.
    Now, if you look at [Sun Oct 22 02:50:27 2006], that's when everything changes. GC starts running every second (later on it's running 3 times a second) doing huge sweeps. It never goes through the nursery again, although the strategy is still generational.
    It's all downhill from this point on, and it's a matter of hours (maybe a day) before we restart the server.
    I guess my only question is: What would cause such GC behavior?
    I would appreciate your ideas/comments!
    Thanks,
    Tenyo

  • Multiple Views of same Universe with DIFFERENT rendering style, possible?

    I am trying to create a CAD-style application that uses several views to display the objects directly from the front, the side and the top using parallel projection and another view that shows the same objects from a freely moveable camera using perspective projection. Everything is working so far, but I would like to display the objects as wire frame in the parallel projection views and fully textured in the perspective view. I have found options to change the rendering of a shape, but that would change it for all views. Is there a way to set different rendering "styles" (i.e. vertex only, wireframe, flat, shaded, textures) for different views of the same universe?

    hi
    i've tried to do that some time ago and i had to give up... unfortunately i think java3D can't use various rendering modes for the same universe
    regards
    GnG

  • Creating CAD-style front-, side- and topview

    I am trying to create sort of a simple CAD like program that displays the world in a top-, front and sideview. I am using the PARALLEL_PROJECTION policy for my view and the front view is working like expected. I moved it 1000 in the +z direction and it is showing my simple test scene which is placed near the origin in a non-perspective way.
    I have some trouble with side and top view though.
    I want to create the sideview by moving the view 1000 units in the +x direction (to the right) and rotating the camera to point at the origin. This should be accomplished by using rotY(Math.PI) on the transformation for the side view, shouldn't it? That should rotate the camera 90� counter-clockwise around the Y-axis (which points up, right?).
    But my scene doesn't show up.
    Same thing for the top view (moved it 1000 in +y, rotX(-Math.PI) ).
    Any idea why nothing shows up?
    Could it be a problem with the rotation precision? It appears that parallel-projection is rather sensitive to roation, rotating by something like 0.01d on my front view lets the scene disappear aswell.

    I think you should first rotate and then translate, since the order of matrix operation is sensitive.

Maybe you are looking for

  • Error in Context menu

    Hi, I used the front office process DISCON02 in transaction to create disconnection. When I test it in the CIC screen, it is giving an error as follows. Workflow WS20500081 could not be started. What to do? Thanks, Goksilin

  • C3 keypad not working!

     I have a nokia c3-00 set, suddenly it's keypad stops working. just if i hold, call dorp button, then it show the screen. i have very important contacts in it. I want that contacts. kindly advise me, is it a software problem or hardware? what am i su

  • Running the BEX query from webdynpro ABAP

    Hi Gurus, Can someone provide the code for running the BEX query from WDA. Thanks, David.

  • Bad link to windows 904 download

    The link to the WIN OS download of OAS 10g currently points to linux software. From: http://otn.oracle.com/software/products/ias/devuse.html Click the Windows link in option 1 to go to: http://otn.oracle.com/software/products/ias/htdocs/904winsoft.ht

  • Network Backup software

    can anyone recommend a good back up software, i need to do weekly backups of photos and movies to my Network drive, some people use time machine, but im looking for other options.