Welcome, Guest. Please login or register.

Author Topic: Warp3d synchro/double-triply bufferging  (Read 18595 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Mr_Capehill

  • Full Member
  • ***
  • Join Date: May 2002
  • Posts: 189
    • Show only replies by Mr_Capehill
Re: Warp3d synchro/double-triply bufferging
« Reply #29 on: February 17, 2005, 08:09:47 PM »
@Karlos: thanks for interesting answer. Could I get your pixeltool utility? I want to try it :)

 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Warp3d synchro/double-triply bufferging
« Reply #30 on: February 17, 2005, 08:13:17 PM »
@Mr_Capehill

Sure, but it is obscenely boring to watch :lol:

I'll put a version up in a moment (and edit this post when done).

-edit-

I lied, I posted a new post. Oh wait, no I didn't, this is an edit....

/me crashes in an infinite loop...
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Warp3d synchro/double-triply bufferging
« Reply #31 on: February 17, 2005, 09:00:39 PM »
You can find pixeltest here
int p; // A
 

Offline Framiga

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 4096
    • Show only replies by Framiga
Re: Warp3d synchro/double-triply bufferging
« Reply #32 on: February 18, 2005, 11:23:11 AM »
wow Karlos

your Warpdemo prog is impressive!!!

Why don't you public it somewhere?

10 minutes job, a screen grabber and voilĂ  . . . GREAT :-)

 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Warp3d synchro/double-triply bufferging
« Reply #33 on: February 18, 2005, 12:04:56 PM »
@Framiga

Hehe, glad you like it. It sort of is public, just not on aminet :-)

Note: epending on your 3D driver and wether or not I compiled the gfxlib of the framework to use the warp3d v3 functions for lines, the "show mesh" option might not work at all.

So, let's see your picture then :-D
int p; // A
 

Offline Framiga

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 4096
    • Show only replies by Framiga
Re: Warp3d synchro/double-triply bufferging
« Reply #34 on: February 18, 2005, 12:10:49 PM »
i've done a joke to my nephew (10 years old).

I prefer don't public it . . . but i've intention to build some animations.

I'll post here soon

Thanks :-)

EDIT- about the mesh, should it be a sort of grid?

 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Warp3d synchro/double-triply bufferging
« Reply #35 on: February 18, 2005, 12:16:32 PM »
If I weren't so lazy, I'd add the options to save the images and deformations directly.

I sort of had the idea of literally allowing you to save any particular deformation as a keyframe to a file that could then be used to make animations and so on.

However, it was actually written as a sort of fun way to estimate texture fill rates more than anything (I took that code out of it before making it a toy) and so on.

If you look at the source code (which should be included, but you need the framework to build it), you can see it isn't something I really lavished too much effort on ;-)
int p; // A
 

Offline Framiga

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 4096
    • Show only replies by Framiga
Re: Warp3d synchro/double-triply bufferging
« Reply #36 on: February 18, 2005, 12:23:40 PM »
with a little effort, its possible to do incredible things.

btw . . . Warpdemo accepts only 256x256 pics?

I've done only some simple test but others will follow.

About looking inside the source . .  . Karlos do you wanna kill me :-)

Its chinese for me :-(

 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Warp3d synchro/double-triply bufferging
« Reply #37 on: February 18, 2005, 12:29:25 PM »
Quote

Framiga wrote:

EDIT- about the mesh, should it be a sort of grid?



The 'show mesh' option should show a line grid on top of the basic image, which is then dimmed slightly, showing you where the vertices are.

However, I think the current build of the gfxlib part of the framework was compiled using *only* warp3d vertex array methods.
 
It so happens that for 680x0/OS3.x, only an unreleased (experimental) permedia2 actually supports all the warp3d v4 drawing methods. I know the 4.2 driver and the equivalent voodoo drivers certianly don't do it.

In the gfxlib / Rasterizer class, there is a compiler switch to render points and lines using the V3 methods because of this, but it was switched off here I think.
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Warp3d synchro/double-triply bufferging
« Reply #38 on: February 18, 2005, 12:31:59 PM »
Quote

Framiga wrote:

btw . . . Warpdemo accepts only 256x256 pics?



In theory, any power of 2 * any other power of 2. Basically the texture limiations of warp3d itself apply.

If you are stuck on 256x256, I bet you have a voodoo :-D

I got a 512x512 one working on my permedia2 no problem ;-)
int p; // A
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Warp3d synchro/double-triply bufferging
« Reply #39 on: February 18, 2005, 12:34:33 PM »
Quote

Framiga wrote:

About looking inside the source . .  . Karlos do you wanna kill me :-)


Nope. Why, is it that bad? A few things you probably noticed

1) there is no main() function.
2) the program is a C++ class
3) there isn't a single line of AmigaOS specific code anywhere ;-)


Quote
Its chinese for me :-(


Try a tab space of 2 - that's what I use. It will make it look a lot tidier at least :-)
int p; // A
 

Offline Framiga

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 4096
    • Show only replies by Framiga
Re: Warp3d synchro/double-triply bufferging
« Reply #40 on: February 18, 2005, 12:37:24 PM »
Ok Karlos CVPPC here too and works with 512x512 as well.

Show Mesh, shows only a dimmered copy of the original image.

 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16879
  • Country: gb
  • Thanked: 5 times
    • Show only replies by Karlos
Re: Warp3d synchro/double-triply bufferging
« Reply #41 on: February 18, 2005, 12:48:58 PM »
BTW, anything written with my framework supports a "-sysdebug" option on the CLI which can be handy when stuff doesnt work that maybe isn't the application's fault.
int p; // A
 

Offline Framiga

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 4096
    • Show only replies by Framiga
Re: Warp3d synchro/double-triply bufferging
« Reply #42 on: February 18, 2005, 01:04:20 PM »
like this?

10.AmigaOS:> warp image "Ram Disk:gianca.jpg" -sysdebug
[ Info    ] SystemLib created memory pool
[ Info    ] SystemLib initialised
[ Info    ] Rasterizer:: initialized
[ Info    ] Rasterizer:: finalized
[ Info    ] SystemLib freed memory pool
[ Info    ] SystemLib finalized


I'm not 100% sure, but:

128x128 works

64x64 works

600x400 doesn't works

400x400 doesn't works

OOOPS sorry . . . you said power of 2 (not multiple of 2) :oops:

 

Offline Mr_Capehill

  • Full Member
  • ***
  • Join Date: May 2002
  • Posts: 189
    • Show only replies by Mr_Capehill
Re: Warp3d synchro/double-triply bufferging
« Reply #43 on: February 18, 2005, 01:52:06 PM »
@Karlos:

for some reason I can't get to your page. FireFox Says "www.megaburken.net could not be found".
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Warp3d synchro/double-triply bufferging
« Reply #44 from previous page: February 18, 2005, 02:58:12 PM »
@Mr_Capehill

It's a DNS problem, try http://81.172.167.40/~karlos/demos/