[PD] gem - feedback & perspective

2007-01-30 Thread Thoralf Schulze
hi there,

i'm stuck with a problem that really drives me nuts: i
have a fairly complex 3d scene. my aim is to take a
snapshot of a part of this scene via pix_snap2tex,
render this texture on a rectangle that covers exactly
the same area where the snapshot has been taken and do
this over and over again to create trails of objects
moving over this part of the scene.
now, no matter what i do, the positions of the moving
objects and their representations in the snapshots are
always slightly off. as a result, the trails are not
what they are supposed to be - they tend to vanish in
the middle of the snapshot, instead of representing
the motion of the moving objects.
everything is perfectly fine when doing the same thing
with just a single [rectangle 5.3 4] filling the
whole screen, so it works in principle. but i do need
to have other parts of the scene visible as well ...

i guess that OpenGL's perspective calculations are 
kicking in here - is there any way of preventing this?
i extensively played around to get this straight:
among other things, i tried [ortho], another attempt
was to make the single rectangle partly transparent
with [alpha], but none of these ideas worked.

i greatly appreciate any help -

thank you,
thoralf.





___ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at 
the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] RE: [GEM-dev] Re: pix_video and dv1394 capture on Edgy

2007-02-03 Thread Thoralf Schulze
hi ivica/all,

--- Ivica Ico Bukvic <[EMAIL PROTECTED]> wrote:


> Based on my tests I am suspecting that this is a
> lib/distro-independent
> issue, and as such am also wondering what will
> happen with pd/gem on Linux
> in 6 months when most of the other distros pump out
> their next release with
> libs similar to Edgy (maybe some of them already
> are?) leaving gem video for

hey, this prophecy became true here on gentoo
yesterday: same symptoms as you described, dv input
hardly worked at all: doing the driver 1 / open
/dev/1394 magic made it work sometimes, altough the
chroma and luma planes were appearantly swapped (red
became blue and vice versa, pix_colormatrix with a 0 0
1 0 1 0 1 0 0 matrix corrected this).
today i re-compiled gem from cvs, and now it doesn't
work at all :-(
i had the idea to frameserve video into gem, but that
concept doesn't seem to exist on linux yet. both
ffmpeg and dvgrab are able to output to a pipe, but
that doesn't help very much in this case. hopefully
avisynth 3 will become usable soon, making gem
gstreamer-aware might also be a good idea ... I've
read that you also tried vloopback, have you had any
success with this?

with kind regards,
thoralf.






___ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at 
the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] gem - feedback & perspective

2007-02-04 Thread Thoralf Schulze
hi erich,

--- Erich Berger <[EMAIL PROTECTED]> wrote:
 
> why - i dont know - and was also back then not
> answerd.

thank you ... i got it to work by grabbing the whole
gemwin with pix_snap rather than pix_snap2tex,
applying an pix_alpha to make any black pixels in the
snapshot transparent and texturing on a full-screen
rectangle afterwards. however, due to its high
ressource consumption, this workaround is almost good
for nothing :-(

with kind regards,
thoralf.



___ 
Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail. 
http://uk.docs.yahoo.com/nowyoucan.html

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] RE: [GEM-dev] Re: pix_video and dv1394 capture on linux

2007-02-04 Thread Thoralf Schulze
hi ivica,

> one. The solution actually
> is quite simple:

not in my case, unfortunately. i cannot get the dv cam
to deliver any frames at all right now. sending  
|device /dev/raw1394( to pix_video only gives

[pix_videoNEW]: device-err: 0
DV4L: closed

in the pd window and 

initializing: Invalid argument

on the console. 

dvgrab and kino are working fine.

since v4l input seems to be way less problematic, i'm
thinking about looping /dev/raw1394 to a v4l device
with vloopback - but you wrote that didn't work
either. vloopback is also not maintained anymore, so
this would probably be only a temporarily solution ...

thanks,
thoralf.



___ 
All New Yahoo! Mail – Tired of unwanted email come-ons? Let our SpamGuard 
protect you. http://uk.docs.yahoo.com/nowyoucan.html

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] RE: [GEM-dev] Re: pix_video and dv1394 capture on linux

2007-02-04 Thread Thoralf Schulze
hi ivica,

--- Ivica Ico Bukvic <[EMAIL PROTECTED]> wrote:

> Did you select the right device?
man, you're right ... /dev/dv1394/0 is the one to use.

sorry for the noise,
thoralf.



___ 
Yahoo! Messenger - with free PC-PC calling and photo sharing. 
http://uk.messenger.yahoo.com

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] gem - feedback & perspective

2007-02-07 Thread Thoralf Schulze
hi,

just realised that anti-aliasing settings also tend to
interfere with feedback: enabling any sort of
anti-aliasing via |FSAA x( fscks up clean feedback on
my geforce 5700 with the 1.0.8776 driver blob.

with kind regards,
thoralf.



___ 
What kind of emailer are you? Find out today - get a free analysis of your 
email personality. Take the quiz at the Yahoo! Mail Championship. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] gem: framerate / quality of pix_video with dv and linux

2007-02-08 Thread Thoralf Schulze
hi there,

when capturing dv with the linux version of gem's
pix_video, this object emits frames about every 1/10th
of a second only, no matter what framerate gem is
running at. when using an usb camera, the behaviour of
pix_video is as expected: it delivers one frame with
every render cycle.

this is a bit less-than-ideal from my point of view,
since fast movements won't be continously anymore. is
there any way of changing this behaviour?
also, while we are at it: the resulting images are
really blocky sometimes, especially when capturing
motion. it looks like some parts of the image consist
of another frame than the rest of the image ... this
issue does not exist when capturing dv with dvgrab or
kino.

while working on this, i found myself craving for the
windows version of pix_video: not only do these ugly
blocks not appear, it is also possible to change the
resolution of the captured video with messages (dv res
xxx, iirc). this becomes important when doing other
stuff besides capturing video: pix_video and the
according pix_texture take up about 50% on my computer
:-( thre is indeed a quality-message, but this one
doesn't seem to affect the resolution of the captured
frames, only their overall quality.

with kind regards,
thoralf.





___ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at 
the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Mplayer video into PDP/Gem

2007-03-30 Thread Thoralf Schulze
hi thomas,

> is there a way to route the video output of mplayer
> (or any other oss
> available for Linux) into Pd via PDP or Gem? AFAIK

there used to be a patch that made mplayer aware of
vloopback-devices
(http://www.lavrsen.dk/twiki/bin/view/Motion/VideoFourLinuxLoopbackDevice)
- maybe that's what you are looking for. however, you
should note that vloopback is video4linux (which seems
to be deprecated by now). furthermore, it seems to be
abandonware.
another option could be named pipes, but i never got
those working, either.

hope this helps,
thoralf.



___ 
What kind of emailer are you? Find out today - get a free analysis of your 
email personality. Take the quiz at the Yahoo! Mail Championship. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 

___
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list