<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: 16:9 pseudolook in outview of an opengl render?</title>
		<atom:link href="http://cycling74.com/forums/topic/169-pseudolook-in-outview-of-an-opengl-render/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/169-pseudolook-in-outview-of-an-opengl-render/feed</link>
		<description></description>
		<pubDate>Thu, 20 Jun 2013 01:14:34 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/169-pseudolook-in-outview-of-an-opengl-render/#post-25152</guid>
					<title><![CDATA[16:9 pseudolook in outview of an opengl render?]]></title>
					<link>http://cycling74.com/forums/topic/169-pseudolook-in-outview-of-an-opengl-render/#post-25152</link>
					<pubDate>Thu, 30 Mar 2006 16:30:27 +0000</pubDate>
					<dc:creator>Tilgino</dc:creator>

					<description>
						<![CDATA[
						<p>hi,</p>
<p>i want to put a black rectancle on the top and bottom of a 4:3 opengl rendering outputwindow to have a (fake)look closer to 16:9 and a wider looking viewpoint&#8230; i don&#8217;t want to lose the performanceadvantage of opengl rendering so i&#8217;m looking for a method at which i haven&#8217;t switch to matrixoutput&#8230;</p>
<p>attention i have an moving camera&#8230;</p>
<p>greets<br />
peter</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/169-pseudolook-in-outview-of-an-opengl-render/#post-73725</guid>
					<title><![CDATA[Re: 16:9 pseudolook in outview of an opengl render?]]></title>
					<link>http://cycling74.com/forums/topic/169-pseudolook-in-outview-of-an-opengl-render/#post-73725</link>
					<pubDate>Thu, 30 Mar 2006 17:08:40 +0000</pubDate>
					<dc:creator>Brecht</dc:creator>

					<description>
						<![CDATA[
						<p>Hi, </p>
<p>I&#8217;m doing a similar thing for the &#8216;rotor&#8217; performance. To get such a letterbox 16:9 view you can render 2 balck rectangles on top of your output. To do this you need to set all your geometry creating gl objects to &#8216;automatic 0&#8242;, and bang the jit.gl.sketch or whatever object you want to use for the black bars after the other openGL objects. I&#8217;ve added a small patch demonstrating the principle. </p>
<p>max v2;<br />
#N vpatcher 447 180 1377 854;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P flonum 290 95 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P flonum 253 95 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P flonum 217 95 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P window linecount 1;<br />
#P message 117 120 85 196617 camera 0. 0. 2.;<br />
#P newex 204 118 97 196617 pak camera 0. 0. 0.;<br />
#P message 356 111 355 196617 color 0. 0. 0. , moveto 0 0.65 0. , plane 2 0.2 , moveto 0 -0.65 0. , plane 2 0.2;<br />
#P toggle 14 54 15 0;<br />
#P message 530 127 83 196617 reset , torus 0.5;<br />
#P comment 530 170 100 196617 the &#8216;content&#8217;;<br />
#P newex 530 149 173 196617 jit.gl.sketch letterbox @automatic 0;<br />
#P newex 14 170 103 196617 jit.window letterbox;<br />
#P newex 356 149 173 196617 jit.gl.sketch letterbox @automatic 0;<br />
#P newex 14 95 85 196617 t b b b b b erase;<br />
#P newex 14 73 57 196617 qmetro 20;<br />
#P newex 14 150 110 196617 jit.gl.render letterbox;<br />
#P comment 356 170 100 196617 the bars;<br />
#P comment 115 102 100 196617 this stays;<br />
#P comment 218 78 100 196617 change these;<br />
#P connect 11 0 4 0;<br />
#P connect 4 0 5 0;<br />
#P fasten 14 0 3 0 122 145 19 145;<br />
#P fasten 13 0 3 0 209 147 19 147;<br />
#P fasten 5 5 3 0 94 131 19 131;<br />
#P connect 5 0 3 0;<br />
#P fasten 5 2 14 0 49 116 122 116;<br />
#P fasten 5 4 13 0 79 116 209 116;<br />
#P fasten 15 0 13 1 222 114 238 114;<br />
#P fasten 16 0 13 2 258 114 267 114;<br />
#P fasten 17 0 13 3 295 114 296 114;<br />
#P fasten 5 1 6 0 34 143 361 143;<br />
#P connect 12 0 6 0;<br />
#P fasten 5 3 8 0 64 145 535 145;<br />
#P connect 10 0 8 0;<br />
#P pop;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/169-pseudolook-in-outview-of-an-opengl-render/#post-73726</guid>
					<title><![CDATA[Re: 16:9 pseudolook in outview of an opengl render?]]></title>
					<link>http://cycling74.com/forums/topic/169-pseudolook-in-outview-of-an-opengl-render/#post-73726</link>
					<pubDate>Thu, 30 Mar 2006 18:17:13 +0000</pubDate>
					<dc:creator>vade</dc:creator>

					<description>
						<![CDATA[
						<p>Here is a version that works with jit.gl.handle.</p>
<p>I was going to put it up as a tutorial, but its pretty well commented  <br />
and its pretty easy to plug stuff into :)</p>
<p>max v2;<br />
#N vpatcher 306 142 1241 836;<br />
#P origin 0 -63;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P comment 673 37 126 196617 <a href="http://abstrakt.vade.info" rel="nofollow">http://abstrakt.vade.info</a>;<br />
#P window setfont &#8220;Sans Serif&#8221; 20.;<br />
#P comment 720 2 79 196628 RWM//;<br />
#P comment 1 22 85 196628 OpenGL;<br />
#B color 1;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P comment 1 3 46 196617 vade //;<br />
#B color 1;<br />
#P user panel 1 1 800 50;<br />
#X brgb 200 0 0;<br />
#X frgb 0 0 0;<br />
#X border 1;<br />
#X rounded 0;<br />
#X shadow 0;<br />
#X done;<br />
#P comment 107 473 150 196617 our render context and window;<br />
#P window linecount 5;<br />
#P comment 442 492 355 196617 notice our jit.gl.handle isnt  <br />
explicitely connected to any gl object. instead we set up value and  <br />
rotation , and store those in variables we bang when we need them.  <br />
attach the leftmost outlet of jit.gl.handle to prepend set , and  <br />
then to a message box. jit.gl.handle simply sends position//rotation  <br />
messages. jit.gl.handle does *not* support @automatic 0. &#8211; this does  <br />
it for us.;<br />
#P window linecount 4;<br />
#P comment 35 381 377 196617 now we reset our camera to default ,  <br />
draw our 2 planes to make our &#8216;letterboxing&#8217;. next we draw the whole  <br />
scene. Notice however , that our 2 planes *do not* have depth enable  <br />
on. This is so that any object &#8216;closer&#8217; to the camera than the planes  <br />
will be drawn *over*. Try turning on depth enable to see what I mean&#8230;;<br />
#P window linecount 1;<br />
#P comment 181 347 377 196617 next we draw our shapes. notice we have  <br />
automatic 0 on , and depth_enable here..;<br />
#P newex 452 438 83 196617 prepend position;<br />
#P newex 386 180 34 196617 v pos;<br />
#P newex 347 180 33 196617 v rot;<br />
#P newex 538 438 33 196617 v rot;<br />
#P newex 452 463 34 196617 v pos;<br />
#P newex 452 413 72 196617 route position;<br />
#P user jit.fpsgui 23 474 60 196617 0;<br />
#P message 452 369 34 196617 reset;<br />
#P window linecount 2;<br />
#P newex 197 297 349 196617 jit.gl.plato letter_box_finished  <br />
@automatic 0 @position 0. 1. 0. @color 1. 0. 0. 0.5 @poly_mode 1 1  <br />
@lighting_enable 1 @depth_enable 1 @antialias 1;<br />
#P window linecount 1;<br />
#N vpatcher 255 332 789 588;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P comment 105 131 376 196617 and send to the jit.gl.render instance  <br />
, now draw our two planes for letterboxing..;<br />
#P window linecount 0;<br />
#P newex 51 70 40 196617 t b b b;<br />
#P window linecount 2;<br />
#P newex 66 153 342 196617 jit.gl.gridshape letter_box_finished  <br />
@automatic 0 @shape plane @position 0. -1.4 0. @color 0. 0. 0. 1.  <br />
@scale 1.333 1. 1. @depth_enable 0;<br />
#P newex 51 185 342 196617 jit.gl.gridshape letter_box_finished  <br />
@automatic 0 @shape plane @position 0. 1.4 0. @color 0. 0. 0. 1.  <br />
@scale 1.333 1. 1. @depth_enable 0;<br />
#P window linecount 1;<br />
#P message 81 99 234 196617 lookat 0. 0. 0. , position 0. 0. 0. ,  <br />
rotate 0. 0. 0. 1.;<br />
#P outlet 81 131 15 0;<br />
#P inlet 51 49 15 0;<br />
#P window linecount 0;<br />
#P comment 137 82 143 196617 reset our camera to default&#8230;;<br />
#P connect 1 0 6 0;<br />
#P connect 6 0 4 0;<br />
#P connect 6 1 5 0;<br />
#P connect 6 2 3 0;<br />
#P connect 3 0 2 0;<br />
#P pop;<br />
#P newobj 35 344 133 196617 p reset_cam_letter_boxing;<br />
#P newex 452 389 330 196617 jit.gl.handle letter_box_finished  <br />
@inherit_transform 0 @auto_rotate 1;<br />
#P newex 296 241 77 196617 prepend shape;<br />
#P user ubumenu 281 221 77 196617 0 1 1 0;<br />
#X add tetrahedron;<br />
#X add hexahedron;<br />
#X add octahedron;<br />
#X add dodecahedron;<br />
#X add icosahedron;<br />
#X prefix_set 0 0 <none> 0;<br />
#X pattrmode 1;<br />
#P window linecount 2;<br />
#P newex 272 262 291 196617 jit.gl.plato letter_box_finished  <br />
@automatic 0 @lighting_enable 1 @depth_enable 1 @antialias 1  <br />
@smooth_shading 1;<br />
#P window linecount 1;<br />
#P newex 47 159 313 196617 t b b b b b;<br />
#P toggle 23 62 15 0;<br />
#P newex 23 81 51 196617 qmetro 2;<br />
#P newex 23 104 58 196617 t b b erase;<br />
#P newex 107 490 225 196617 jit.window letter_box_finished  <br />
@depthbuffer 1;<br />
#P window linecount 2;<br />
#P newex 23 439 222 196617 jit.gl.render letter_box_finished  <br />
@erase_color 0. 0. 0.3 1. @depth_enable 1 @antialias 1;<br />
#P window linecount 3;<br />
#P comment 84 106 280 196617 strictly control our render chain. erase  <br />
first , send our bang for our render objects to draw (were using  <br />
automatic 0..) , and then bang jit.gl.render to actually *draw*  <br />
everything.;<br />
#P comment 425 167 348 196617 v pos and v rot store our rotation and  <br />
position from jit.gl.handle. We bang them to set our camera positions  <br />
from handle *at the very beginning of the render chain* so as to put  <br />
things where the rotation this frame should be.;<br />
#P connect 6 0 5 0;<br />
#P connect 5 0 4 0;<br />
#P fasten 12 0 2 0 40 371 28 371;<br />
#P fasten 20 0 2 0 391 210 28 210;<br />
#P fasten 19 0 2 0 352 210 28 210;<br />
#P connect 4 0 2 0;<br />
#P fasten 4 2 2 0 76 154 28 154;<br />
#P connect 2 0 15 0;<br />
#P fasten 7 1 12 0 127 316 40 316;<br />
#P connect 4 1 7 0;<br />
#P connect 7 2 13 0;<br />
#P fasten 10 0 8 0 301 260 277 260;<br />
#P connect 7 3 8 0;<br />
#P fasten 9 1 10 0 319 239 301 239;<br />
#P fasten 7 4 19 0 352 178 352 178;<br />
#P fasten 7 4 20 0 352 178 391 178;<br />
#P connect 14 0 11 0;<br />
#P connect 11 0 16 0;<br />
#P connect 16 0 21 0;<br />
#P connect 21 0 17 0;<br />
#P fasten 16 1 18 0 519 434 543 434;<br />
#P pop;</none></p>
<p>v a d e //</p>
<p><a href="http://www.vade.info" rel="nofollow">http://www.vade.info</a><br />
abstrakt.vade.info</p>
<p>
I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I LIVE! I  <br />
LIVE! I LIVE! I LIVE! I LIVE!</p>
<p>You will not be saved by the Holy Ghost. You will not be saved by the  <br />
God Plutonium.</p>
<p>In fact, YOU WILL NOT BE SAVED!</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

