ARToolKit | Mailing List Archive |
![]() |
From: | lim kianhong <spartan_kings@y ........> | Received: | Oct 9, 2005 |
To | ARToolkit pp <artoolkit@h ..................> | ||
Subject: | Urgent: How display problem | ||
--0-607312227-1128841574=:79326 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, When i executed the simplevrml program, the output is not only upside down but also flipped opposite in other directions. Did i forget to do anything or is this an inherent problem?Can anyone lend me some assistance?I've searched the forum and found few similar cases but they were not replied. Kian Hong --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. --0-607312227-1128841574=:79326 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit <DIV>Hi,</DIV> <DIV> </DIV> <DIV>When i executed the simplevrml program, the output is not only upside down but also flipped opposite in other directions. Did i forget to do anything or is this an inherent problem?Can anyone lend me some assistance?I've searched the forum and found few similar cases but they were not replied.</DIV> <DIV> </DIV> <DIV>Kian Hong </DIV><p> <hr size=1> <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/">Yahoo! Music Unlimited - Access over 1 million songs. Try it free.</a> --0-607312227-1128841574=:79326-- |
From: | Chris McCormick <chris@m ...........> | Received: | Oct 9, 2005 |
To | ARToolkit pp <artoolkit@h ..................> | ||
Subject: | Re: Urgent: How display problem | ||
On Sun, Oct 09, 2005 at 12:06:14AM -0700, lim kianhong wrote: > Hi, > > When i executed the simplevrml program, the output is not only upside > down but also flipped opposite in other directions. Did i forget to > do anything or is this an inherent problem?Can anyone lend me some > assistance?I've searched the forum and found few similar cases but they > were not replied. Speaking of which, is there an easy way to flip the image that ARToolKit operates on in the horizontal before processing it? I RTFM but couldn't find anything of relevance except for some windows-driver specific functions. I hope this makes sense. Best regards, Chris ------------------- chris@m ........... http://mccormick.cx |
From: | Ronald Sidharta <ronalds@g ........> | Received: | Oct 11, 2005 |
To | lim kianhong <spartan_kings@y ........> | ||
Subject: | Re: Urgent: How display problem | ||
Hello, Are you working on windows or linux? In my experience, flipping the display horizontal or vertical can be done in the ArVideoOpen(vconf) function. So in that function, you pass a string, in this case called 'vconf', which contains the description of the video format. In my case, my vconf is: char=09=09=09*vconf =3D "flipV,videoHeight=3D480,videoWidth=3D640"; // see = video.h for a list of supported parameters if you want to flip horizontally, add the word 'flipH' in the parameter lis= t. I don't know if this is exclusively for windows. Also, I am not 100% sure if this is the way for the newest version of ARToo= lkit. Ronald On 10/9/05, lim kianhong <spartan_kings@y ........> wrote: > Hi, > > When i executed the simplevrml program, the output is not only upside dow= n > but also flipped opposite in other directions. Did i forget to do anythin= g > or is this an inherent problem?Can anyone lend me some assistance?I've > searched the forum and found few similar cases but they were not replied. > > Kian Hong > > ________________________________ > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > > |
From: | lim kianhong <spartan_kings@y ........> | Received: | Oct 12, 2005 |
To | ARToolkit pp <artoolkit@h ..................>, ronalds@g ........ | ||
Subject: | Re: Urgent: How display problem | ||
--0-1772023041-1129121699=:37901 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, I'm using windows. I've tried using the vconf string given in the simpleVRML file: arVideoOpen("flipH,flipV,showDlg"); it compiles alright but the image is still upside down. What does it mean by not implemented (yet)??This is found inside video.h=> flipH : flip image horizontally (WARNING: non-optimal performance) * not (yet) implemented --> HAS NO EFFECT IF USED WITHOUT ARTOOLKIT Another question:do i need to change anything(the ARToolkit source code) to do this flipping?? Kian Hong Ronald Sidharta <ronalds@g ........> wrote: Hello, Are you working on windows or linux? In my experience, flipping the display horizontal or vertical can be done in the ArVideoOpen(vconf) function. So in that function, you pass a string, in this case called 'vconf', which contains the description of the video format. In my case, my vconf is: char *vconf = "flipV,videoHeight=480,videoWidth=640"; // see video.h for a list of supported parameters if you want to flip horizontally, add the word 'flipH' in the parameter list. I don't know if this is exclusively for windows. Also, I am not 100% sure if this is the way for the newest version of ARToolkit. Ronald On 10/9/05, lim kianhong wrote: > Hi, > > When i executed the simplevrml program, the output is not only upside down > but also flipped opposite in other directions. Did i forget to do anything > or is this an inherent problem?Can anyone lend me some assistance?I've > searched the forum and found few similar cases but they were not replied. > > Kian Hong > > ________________________________ > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > > --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. --0-1772023041-1129121699=:37901 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit <DIV>Hi,</DIV> <DIV> </DIV> <DIV>I'm using windows. I've tried using the vconf string given in the simpleVRML file: arVideoOpen("flipH,flipV,showDlg"); it compiles alright but the image is still upside down.</DIV> <DIV>What does it mean by not implemented (yet)??This is found inside video.h=></DIV> <DIV> </DIV> <DIV> flipH : flip image horizontally (WARNING: non-optimal performance)<BR> * not (yet) implemented --> HAS NO EFFECT IF USED WITHOUT ARTOOLKIT<BR><BR>Another question:do i need to change anything(the ARToolkit source code) to do this flipping??</DIV> <DIV> </DIV> <DIV>Kian Hong</DIV> <DIV><BR><B><I>Ronald Sidharta <ronalds@g ........></I></B> wrote:</DIV> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hello,<BR><BR>Are you working on windows or linux?<BR>In my experience, flipping the display horizontal or vertical can be<BR>done in the<BR>ArVideoOpen(vconf) function.<BR>So in that function, you pass a string, in this case called 'vconf',<BR>which contains the description of the video format.<BR><BR>In my case, my vconf is:<BR><BR>char *vconf = "flipV,videoHeight=480,videoWidth=640"; // see video.h<BR>for a list of supported parameters<BR><BR>if you want to flip horizontally, add the word 'flipH' in the parameter list.<BR><BR>I don't know if this is exclusively for windows.<BR>Also, I am not 100% sure if this is the way for the newest version of ARToolkit.<BR><BR>Ronald<BR><BR><BR><BR>On 10/9/05, lim kianhong <SPARTAN_KINGS@Y ........>wrote:<BR>> Hi,<BR>><BR>> When i executed the simplevrml program, the output is not only upside down<BR>> but also flipped opposite in other directions. Did i forget to do anything<BR>> or is this an inherent problem?Can anyone lend me some assistance?I've<BR>> searched the forum and found few similar cases but they were not replied.<BR>><BR>> Kian Hong<BR>><BR>> ________________________________<BR>> Yahoo! Music Unlimited - Access over 1 million songs. Try it free.<BR>><BR>><BR></BLOCKQUOTE><p> <hr size=1> <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/">Yahoo! Music Unlimited - Access over 1 million songs. Try it free.</a> --0-1772023041-1129121699=:37901-- |
From: | Philip Lamb <phil@e ..........> | Received: | Oct 12, 2005 |
To | lim kianhong <spartan_kings@y ........> | ||
Subject: | Re: Urgent: How display problem | ||
Hi there, What version of ARToolKit? What version of DSVideoLib? Are you sure that you don't have image flipping turned on separately in your camera driver? I have seen this issue on people using Logitech Drivers.. the Logitech camera control program allows you do flip vertically and/or horizontally. If you have this option in your driver, then use it.. it will provide better performance than asking DSVideoLib to do the flipping (via the flipV parameter in the vconf string.) As for the horizontal flipping.. there should be a tick box labelled "flip horizontally" on the Windows WDM capture dialog box which appears when you launch the app. Cheers, Phil. On 12/10/2005, at 5:54 AM, lim kianhong wrote: > Hi, > > I'm using windows. I've tried using the vconf string given in the > simpleVRML file: arVideoOpen("flipH,flipV,showDlg"); it compiles > alright but the image is still upside down. > What does it mean by not implemented (yet)??This is found inside > video.h=> > > flipH : flip image horizontally (WARNING: non-optimal > performance) > * not (yet) implemented --> HAS NO EFFECT IF USED > WITHOUT ARTOOLKIT > > Another question:do i need to change anything(the ARToolkit source > code) to do this flipping?? > > Kian Hong > > R |
From: | lim kianhong <spartan_kings@y ........> | Received: | Oct 12, 2005 |
To | Philip Lamb <phil@e ..........>, ARToolkit pp <artoolkit@h ..................>, ronald ronald <ronalds@g ........> | ||
Subject: | Re: Urgent: How display problem | ||
--0-1782068925-1129170815=:64891 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi, I'm using ARToolkit 2.33 version. As for the DSVideoLib, i'm not really sure. I've tried flipping the image using my camera driver(the camera is Genius brand) but it doesn't work.It seems that the camera driver and ARtoolkit are independent of each other. Another important thing, the dialog box does have the flip horizontally option but it is greyed out so i can't use it. I did try to use the filpV option in the vconf by :char *vconf ="flipH,flipV,showDlg"; but in the end it still doesn't work.Did i forget to do any other thing?I noticed that in videoWin32.cpp there is an option called FLIPPED which need to de defined if we want to flip the image but how do i change it such that this will register?? Philip Lamb <phil@e ..........> wrote: Hi there, What version of ARToolKit? What version of DSVideoLib? Are you sure that you don't have image flipping turned on separately in your camera driver? I have seen this issue on people using Logitech Drivers.. the Logitech camera control program allows you do flip vertically and/or horizontally. If you have this option in your driver, then use it.. it will provide better performance than asking DSVideoLib to do the flipping (via the flipV parameter in the vconf string.) As for the horizontal flipping.. there should be a tick box labelled "flip horizontally" on the Windows WDM capture dialog box which appears when you launch the app. Cheers, Phil. On 12/10/2005, at 5:54 AM, lim kianhong wrote: > Hi, > > I'm using windows. I've tried using the vconf string given in the > simpleVRML file: arVideoOpen("flipH,flipV,showDlg"); it compiles > alright but the image is still upside down. > What does it mean by not implemented (yet)??This is found inside > video.h=> > > flipH : flip image horizontally (WARNING: non-optimal > performance) > * not (yet) implemented --> HAS NO EFFECT IF USED > WITHOUT ARTOOLKIT > > Another question:do i need to change anything(the ARToolkit source > code) to do this flipping?? > > Kian Hong > > R --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. --0-1782068925-1129170815=:64891 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit <DIV>Hi,</DIV> <DIV> </DIV> <DIV>I'm using ARToolkit 2.33 version. As for the DSVideoLib, i'm not really sure.</DIV> <DIV>I've tried flipping the image using my camera driver(the camera is Genius brand) but it doesn't work.It seems that the camera driver and ARtoolkit are independent of each other.</DIV> <DIV>Another important thing, the dialog box does have the flip horizontally option but it is greyed out so i can't use it.</DIV> <DIV>I did try to use the filpV option in the vconf by :char *vconf ="flipH,flipV,showDlg"; but in the end it still doesn't work.Did i forget to do any other thing?I noticed that in videoWin32.cpp there is an option called FLIPPED which need to de defined if we want to flip the image but how do i change it such that this will register??<BR><BR><B><I>Philip Lamb <phil@e ..........></I></B> wrote:</DIV> <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Hi there,<BR><BR>What version of ARToolKit? What version of DSVideoLib?<BR><BR>Are you sure that you don't have image flipping turned on separately <BR>in your camera driver? I have seen this issue on people using <BR>Logitech Drivers.. the Logitech camera control program allows you do <BR>flip vertically and/or horizontally.<BR><BR>If you have this option in your driver, then use it.. it will <BR>provide better performance than asking DSVideoLib to do the flipping <BR>(via the flipV parameter in the vconf string.)<BR><BR>As for the horizontal flipping.. there should be a tick box labelled <BR>"flip horizontally" on the Windows WDM capture dialog box which <BR>appears when you launch the app.<BR><BR>Cheers,<BR>Phil.<BR><BR>On 12/10/2005, at 5:54 AM, lim kianhong wrote:<BR><BR>> Hi,<BR>><BR>> I'm using windows. I've tried using the vconf string given in the <BR>> simpleVRML file: arVideoOpen("flipH,flipV,showDlg"); it compiles <BR>> alright but the image is still upside down.<BR>> What does it mean by not implemented (yet)??This is found inside <BR>> video.h=><BR>><BR>> flipH : flip image horizontally (WARNING: non-optimal <BR>> performance)<BR>> * not (yet) implemented --> HAS NO EFFECT IF USED <BR>> WITHOUT ARTOOLKIT<BR>><BR>> Another question:do i need to change anything(the ARToolkit source <BR>> code) to do this flipping??<BR>><BR>> Kian Hong<BR>><BR>> R<BR></BLOCKQUOTE><p> <hr size=1> <a href="http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=36035/*http://music.yahoo.com/unlimited/">Yahoo! Music Unlimited - Access over 1 million songs. Try it free.</a> --0-1782068925-1129170815=:64891-- |
From: | Philip Lamb <phil@e ..........> | Received: | Oct 12, 2005 |
To | lim kianhong <spartan_kings@y ........> | ||
Subject: | Re: Urgent: How display problem | ||
On 12/10/2005, at 7:33 PM, lim kianhong wrote: > Hi, > > I'm using ARToolkit 2.33 version. As for the DSVideoLib, i'm not > really sure. You should use a newer version of ARToolKit. Version 2.33 is several years old. P. |