Search found 26 matches

by alko
Tue Feb 08, 2022 9:25 pm
Forum: Beginners Help
Topic: How to optimise billboard array batching ?
Replies: 8
Views: 575

Re: How to optimise billboard array batching ?

I noticed you still use Irrlicht 1.7
Its last version which works under Win98SE
by alko
Tue Feb 08, 2022 8:53 pm
Forum: Beginners Help
Topic: How to optimise billboard array batching ?
Replies: 8
Views: 575

Re: How to optimise billboard array batching ?

I changed the array size to 32000 then on a modern machine appeared lags too.
its just ~32000 polys on intel core i5-3470 + GTX1660 OC.

Here "Very Sleepy" log:
https://www.dropbox.com/s/13s6z78ss8k6x ... e.csv?dl=0
by alko
Tue Feb 08, 2022 4:34 pm
Forum: Beginners Help
Topic: How to optimise billboard array batching ?
Replies: 8
Views: 575

Re: How to optimise billboard array batching ?

Then it has wrong uv coordinates for it. UV are correct. These artifacts appear when it start on old-machine with voodoo. On modern machine all is ok. enable vsync in the Irrlicht device vsync are enabled. yet again, on modern machine stable 60 fps. But on retro computer slowdowns. however there ar...
by alko
Sun Feb 06, 2022 12:36 pm
Forum: Beginners Help
Topic: How to optimise billboard array batching ?
Replies: 8
Views: 575

How to optimise billboard array batching ?

I need to optimise batching under Pmmx+Voodoo2 1.) Remove artifacts from bike animation 2.) Normalize FPS https://youtu.be/nl96ZvXI_3Q Bike animation I made by atlas: 256x80 - 4 frames Scale/Scroll UV coordinates. animtime++; if(animtime>6)animtime=0; if(receiver.IsKeyDown(KEY_KEY_A)) { playerNode->...
by alko
Fri Jul 24, 2020 11:01 am
Forum: Beginners Help
Topic: how to implement frustum culling on solid mesh?
Replies: 3
Views: 654

Re: how to implement frustum culling on solid mesh?

this is a single node.

camera directon is top-down.
https://vk.com/wall-145919754_766
by alko
Thu Jul 23, 2020 6:40 pm
Forum: Beginners Help
Topic: how to implement frustum culling on solid mesh?
Replies: 3
Views: 654

how to implement frustum culling on solid mesh?

This is topology of obj-file

Image

how to enable frustum culling on this by visible pyramid ?
by alko
Sun Jul 19, 2020 6:07 pm
Forum: Beginners Help
Topic: UV scale/rotate/tiling without shaders
Replies: 8
Views: 679

Re: UV scale/rotate/tiling without shaders

:o

Code: Select all

fognode->getMaterial(0).getTextureMatrix(0).setTextureTranslate(scroll,scroll);
it's worked
by alko
Sun Jul 19, 2020 5:49 pm
Forum: Beginners Help
Topic: UV scale/rotate/tiling without shaders
Replies: 8
Views: 679

Re: UV scale/rotate/tiling without shaders

CuteAlien wrote:Do you try to do that at the same time?
Nope. I use this functions separately

by the way, engine version is 1.7.3 (for run under win98SE)
maybe there are bug in this version?
by alko
Sun Jul 19, 2020 12:20 pm
Forum: Beginners Help
Topic: UV scale/rotate/tiling without shaders
Replies: 8
Views: 679

Re: UV scale/rotate/tiling without shaders

Strange...
Rotation and scaling is work (setRotation (), setScale() ) .
But scrolling does not work.
Hmm...
by alko
Sun Jul 19, 2020 7:43 am
Forum: Beginners Help
Topic: UV scale/rotate/tiling without shaders
Replies: 8
Views: 679

Re: UV scale/rotate/tiling without shaders

I'm trying this

Code: Select all

 
float scroll;
...
//main loop
scroll += 1;
fognode->getMaterial(0).getTextureMatrix(0).setTranslation(vector3df(scroll,scroll,0));
...
 
but no result
by alko
Sat Jul 18, 2020 11:00 am
Forum: Beginners Help
Topic: UV scale/rotate/tiling without shaders
Replies: 8
Views: 679

UV scale/rotate/tiling without shaders

How to change texture UV coords on plane-mesh without help shaders (because i need to launch on retro-pc with voodoo 3dfx).
Also i need to enable flag GL_REPEAT (for unlimited scroll texture)

Image
by alko
Fri Sep 20, 2019 6:36 pm
Forum: Beginners Help
Topic: How to add irr-scene to node?
Replies: 20
Views: 2894

Re: How to add irr-scene to node?

I open irr-file (generated by copperCube) :shock:
Image
by alko
Thu Sep 19, 2019 3:50 pm
Forum: Beginners Help
Topic: How to add irr-scene to node?
Replies: 20
Views: 2894

Re: How to add irr-scene to node?

But your example used Direct3D8? If you can use OpenGL - do you get the same results?

I tried opengl too. On modern hardware.
The result is the same
by alko
Sat Sep 14, 2019 8:59 pm
Forum: Beginners Help
Topic: How to add irr-scene to node?
Replies: 20
Views: 2894

Re: How to add irr-scene to node?

Hmmmm... this trouble (non-disabled filtering) applies to any model where set attribute in CopperCube "transparent (alpha-channel)" https://sun9-56.userapi.com/c855624/v855624014/f5ac5/1D4Pq8RkFek.jpg Besides depth-test are glitched. https://sun9-2.userapi.com/c855624/v855624014/f5ad5/8maP...
by alko
Tue Sep 10, 2019 9:19 pm
Forum: Beginners Help
Topic: How to add irr-scene to node?
Replies: 20
Views: 2894

Re: How to add irr-scene to node?

CuteAlien wrote: for Voodoo 2, but OpenGL might work?


I use dll-wrapper opengl-to-glide.
due to which it works like on modern hardware