Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Search
Login
Register
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
Software Renderer in Swing Component and swapping out the jPCT class
« previous
next »
Print
Pages:
1
[
2
]
Go Down
Author
Topic: Software Renderer in Swing Component and swapping out the jPCT class (Read 9154 times)
Knuffi
byte
Posts: 19
Re: Software Renderer in Swing Component and swapping out the jPCT class
«
Reply #15 on:
April 08, 2012, 12:22:10 pm »
With the permission of Egon, I could put it into the wiki.
Logged
raft
quad
Posts: 1993
Re: Software Renderer in Swing Component and swapping out the jPCT class
«
Reply #16 on:
April 08, 2012, 02:23:57 pm »
Quote from: Knuffi
2. Why do the world and the frame buffer to be static?
they dont need to be static
Logged
Knuffi
byte
Posts: 19
Re: Software Renderer in Swing Component and swapping out the jPCT class
«
Reply #17 on:
April 08, 2012, 05:34:02 pm »
Eclipse tells me so, when I write the rotation method and put it in the Actionlistener.
Logged
raft
quad
Posts: 1993
Re: Software Renderer in Swing Component and swapping out the jPCT class
«
Reply #18 on:
April 08, 2012, 05:40:54 pm »
if your ActionListener uses methods of World/FrameBuffer, it should somehow reach them. making them static is a way, but not the only way
Logged
Knuffi
byte
Posts: 19
Re: Software Renderer in Swing Component and swapping out the jPCT class
«
Reply #19 on:
April 08, 2012, 05:54:46 pm »
I could also implement the action listener into the class, where the world and the frame buffer reside?
Logged
raft
quad
Posts: 1993
Re: Software Renderer in Swing Component and swapping out the jPCT class
«
Reply #20 on:
April 08, 2012, 05:56:07 pm »
sure, that's another way..
Logged
Print
Pages:
1
[
2
]
Go Up
« previous
next »
www.jpct.net
»
jPCT - a 3d engine for Java
»
Support
»
Software Renderer in Swing Component and swapping out the jPCT class