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-AE - a 3d engine for Android
»
Support
»
Version updates!
« previous
next »
Print
Pages:
1
...
16
17
[
18
]
19
20
...
23
Go Down
Author
Topic: Version updates! (Read 181691 times)
Thomas.
double
Posts: 833
Re: Version updates!
«
Reply #255 on:
July 15, 2011, 10:51:23 pm »
I am looking for what is wrong, because when I did simple test, additional color is working...
this is code of screens (uploaded image is actual texture):
Code:
[Select]
fb.blit(pad, 0, 0, x, y, 128, 128, 128, 128, 50, FrameBuffer.OPAQUE_BLITTING, addColor);
Logged
My game for Android
,
Physics example
,
Texture assistant
EgonOlsen
Administrator
quad
Posts: 12297
Re: Version updates!
«
Reply #256 on:
July 15, 2011, 10:58:22 pm »
If that is the code that blits it, i would say that neither screen shot is correct because neither texture is blitted opaque. Are you clearing the frame buffer with additional alpha or something?
Logged
Thomas.
double
Posts: 833
Re: Version updates!
«
Reply #257 on:
July 15, 2011, 11:05:44 pm »
I can not find where is problem in addColor... just fb.claer();
Logged
My game for Android
,
Physics example
,
Texture assistant
EgonOlsen
Administrator
quad
Posts: 12297
Re: Version updates!
«
Reply #258 on:
July 15, 2011, 11:11:34 pm »
Sorry, i need some test case to get the problem with opaque/non-opaque/whatever stuff...
Logged
Thomas.
double
Posts: 833
Re: Version updates!
«
Reply #259 on:
July 15, 2011, 11:20:41 pm »
I tried set to transValue whatever and it is without any effect, so maybe this is issue
Logged
My game for Android
,
Physics example
,
Texture assistant
EgonOlsen
Administrator
quad
Posts: 12297
Re: Version updates!
«
Reply #260 on:
July 15, 2011, 11:34:46 pm »
It works fine when using additive blending (which my test cases did) but seems to fail when additive is set to false...i'll look at it.
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: Version updates!
«
Reply #261 on:
July 16, 2011, 12:04:11 am »
Should be fixed now...please re-download the zip and try again.
Logged
Thomas.
double
Posts: 833
Re: Version updates!
«
Reply #262 on:
July 16, 2011, 12:15:19 am »
addColor and transparency work now, thanks
Logged
My game for Android
,
Physics example
,
Texture assistant
Thomas.
double
Posts: 833
Re: Version updates!
«
Reply #263 on:
July 16, 2011, 01:50:54 pm »
Became a miracle and render to texture works (maybe newer firmware?...). But why boxes rendered more times? and fb.blit(...) does not works when is rendered and drawed world, without works, but in bad dimensions. I used "Config.autoMaintainAspectRatio = false" and "Config.renderTargetsAsSubImages = false"
«
Last Edit: July 16, 2011, 01:55:41 pm by Thomas.
»
Logged
My game for Android
,
Physics example
,
Texture assistant
EgonOlsen
Administrator
quad
Posts: 12297
Re: Version updates!
«
Reply #264 on:
July 16, 2011, 11:41:21 pm »
No idea. Maybe you are seeing the last render result blitted into the new one there? Maybe it doesn't work correctly even if it looks like it at first glance...just don't use this feature! It's too flaky and doesn't work on all devices (as you've already noticed multiple times). So....DON'T DO IT! And about blitting into the render target, the docs for setRenderTarget(..) state: "While possible, it's not recommended to blit into a render target."...just follow that advice.
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: Version updates!
«
Reply #265 on:
July 21, 2011, 11:44:48 pm »
New alpha here:
http://www.jpct.de/download/net/jpct-ae_124_alpha.zip
This one adds: Option to enable AA via an AAConfigChooser in util as well as two fixes concerning sharing compiled data for animated objects.
Logged
nico_r_a
byte
Posts: 48
Re: Version updates!
«
Reply #266 on:
August 01, 2011, 02:36:28 pm »
i don't arrive to launch the application "helloshader" on the emulator pc
Logged
Thomas.
double
Posts: 833
Re: Version updates!
«
Reply #267 on:
August 01, 2011, 02:55:27 pm »
emulator does not support ogl 2.0
Logged
My game for Android
,
Physics example
,
Texture assistant
nico_r_a
byte
Posts: 48
Re: Version updates!
«
Reply #268 on:
August 01, 2011, 03:02:01 pm »
how could i do to see the helloshader so? because i don't have a tablet
«
Last Edit: August 01, 2011, 03:04:29 pm by nico_r_a
»
Logged
EgonOlsen
Administrator
quad
Posts: 12297
Re: Version updates!
«
Reply #269 on:
August 01, 2011, 09:18:33 pm »
You don't need a tablet, but a real phone would help. If that isn't available, you can see a video on Youtube:
http://www.youtube.com/watch?v=5Zgn1OCDIus
Logged
Print
Pages:
1
...
16
17
[
18
]
19
20
...
23
Go Up
« previous
next »
www.jpct.net
»
jPCT-AE - a 3d engine for Android
»
Support
»
Version updates!