[prev in list] [next in list] [prev in thread] [next in thread]
List: helix-video-dev
Subject: [Video-dev] Ful-lsite Blitting Questions
From: "Josh Taylor" <jjtaylor () andrew ! cmu ! edu>
Date: 2004-04-17 16:02:01
Message-ID: 000001c42495$51ca3570$7cef0280 () andrew ! ad ! cmu ! edu
[Download RAW message or body]
I have been working on integrating Helix with Panda3D, an open source video
game/simulation engine that was originally developed by Disney. Essentially,
I am trying to send a texture buffer of an arbitrary size (so long as it's a
power of 2) from a texture map within Panda into helix so that it can be
updated each frame. I have successfully accomplished this with the minisite,
however, something is wrong with the mini-site color conversion for me. Even
when I download the source code from CVS and do a clean build with ribosome,
the video comes out all distorted when open a file via splay.
Since the color conversion works in the full-site, I want to try and modify
what I've done for the mini-site; however, I'm not sure where to begin. I've
looked over the Blt routine in basesurface.cpp, and I placed a print
statement at the beginning but its never being executed. Is this the correct
Blt routine for the full-site or should I look elsewhere?
Also, lets say I have a 512x512 UCHAR* buffer that I want to pass down to be
updated and the video is 320x180, will scaling occur automatically to match
the larger size of my texture buffer if I specify a BMI?
Josh
[Attachment #3 (text/html)]
<html>
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{font-family:Arial;
color:windowtext;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I have been working on integrating Helix with Panda3D, an
open source video game/simulation engine that was originally developed by
Disney. Essentially, I am trying to send a texture buffer of an arbitrary size
(so long as it’s a power of 2) from a texture map within Panda into helix
so that it can be updated each frame. I have successfully accomplished this
with the minisite, however, something is wrong with the mini-site color
conversion for me. Even when I download the source code from CVS and do a clean
build with ribosome, the video comes out all distorted when open a file via
splay.</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Since the color conversion works in the full-site, I want to
try and modify what I’ve done for the mini-site; however, I’m not
sure where to begin. I’ve looked over the Blt routine in basesurface.cpp,
and I placed a print statement at the beginning but its never being executed. Is
this the correct Blt routine for the full-site or should I look elsewhere?</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Also, lets say I have a 512x512 UCHAR* buffer that I want to
pass down to be updated and the video is 320x180, will scaling occur
automatically to match the larger size of my texture buffer if I specify a BMI?
</span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Josh</span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
</div>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic