Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Help! multisampling on a second camera

Author
Message
MegaByte
15
Years of Service
User Offline
Joined: 1st Nov 2010
Location:
Posted: 2nd Nov 2010 20:44 Edited at: 3rd Nov 2010 01:03
It doesn't seem to work.

when using "Set camera to image", the image is not multisampled/anti-aliased when reading from any camera other than 0

(Camera 0 is correctly multisampled, both in the main viewport and in a pasted image)

Am I doing something wrong? Any work-arounds?

Cheers,

Megabyte.

Do you ever feel, in your caves of steel, The chill of an ancient fear?
Do you shudder and say, when you pass this way,
A human once walked here?
Mage
Valued Member
19
Years of Service
User Offline
Joined: 3rd Feb 2007
Location:
Posted: 3rd Nov 2010 00:09
I'm not entirely sure what you mean by 'Multisampled'.
Specificly in what way is the additional Camera not multisampled? When the camera image is mapped to an object? The contents appearing inside the camera?

Try this:
SET OBJECT FILTER

MegaByte
15
Years of Service
User Offline
Joined: 1st Nov 2010
Location:
Posted: 3rd Nov 2010 00:56
I mean it isn't anti-aliased. When using:

set display width,height,colors,vsync,AA,multimonitor support


The "AA" part only seems to apply to camera 0

Do you ever feel, in your caves of steel, The chill of an ancient fear?
Do you shudder and say, when you pass this way,
A human once walked here?
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 3rd Nov 2010 15:34
IIRC, the AA part only applies to the display, which normally is just camera 0, but can be any other camera you allow to display too.

Utility plug-ins (26-JUL-2010)
I'm applying terms of use that require you to wear a red nose and honk a horn whenever you use the Internet
pcRaider
19
Years of Service
User Offline
Joined: 30th May 2007
Location:
Posted: 29th Nov 2010 14:59
hi IanM
I am displayed with "Screen fps : 64".
I use SyncRate30.
Am I wrong?
Is this a bug?
It occurs when I use a camera command.

Mobiius
Valued Member
23
Years of Service
User Offline
Joined: 27th Feb 2003
Location: The Cold North
Posted: 30th Nov 2010 17:16
x2 cameras returns x2 framerate since the rendering is done twice. x3 cameras would return x3 framerate and so on.

My signature is NOT a moderator plaything! Stop changing it!
Blobby 101
20
Years of Service
User Offline
Joined: 17th Jun 2006
Location: England, UK
Posted: 30th Nov 2010 21:52
don't you mean /2 frame rate? The FPS doesn't INCREASE with more cameras

Indicium
18
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 30th Nov 2010 22:49
Quote: "don't you mean /2 frame rate? The FPS doesn't INCREASE with more cameras"


1 camera at 30fps = 30fps
2 cameras at 30fps = 60fps...

Login to post a reply

Server time is: 2026-07-21 13:37:49
Your offset time is: 2026-07-21 13:37:49