1998Q2/
<!-- MHonArc v2.4.4 -->
<!--X-Subject: [MUD&#45;Dev] How to represent a 3d object... -->
<!--X-From-R13: Pra Uerrne <terrneNploreuvtujnl.arg> -->
<!--X-Date: Fri, 24 Apr 1998 19:44:28 &#45;0700 -->
<!--X-Message-Id: E0ySuwe&#45;0000hq&#45;00#emu,kanga.nu -->
<!--X-Content-Type: text/plain -->
<!--X-Head-End-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<html>
<head>
<title>MUD-Dev message, [MUD-Dev] How to represent a 3d object...</title>
<!-- meta name="robots" content="noindex,nofollow" -->
<link rev="made" href="mailto:greear#cyberhighway,net">
</head>
<body background="/backgrounds/paperback.gif" bgcolor="#ffffff"
      text="#000000" link="#0000FF" alink="#FF0000" vlink="#006000">

  <font size="+4" color="#804040">
    <strong><em>MUD-Dev<br>mailing list archive</em></strong>
  </font>
      
<br>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
<br clear=all><hr>
<!--X-Body-Begin-->
<!--X-User-Header-->
<!--X-User-Header-End-->
<!--X-TopPNI-->

Date:&nbsp;
[&nbsp;<a href="msg00644.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00694.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Thread:&nbsp;
[&nbsp;<a href="msg00358.html">Previous</a>
&nbsp;|&nbsp;<a href="msg00675.html">Next</a>
&nbsp;]
&nbsp;&nbsp;&nbsp;&nbsp;
Index:&nbsp;
[&nbsp;<A HREF="author.html#00654">Author</A>
&nbsp;|&nbsp;<A HREF="#00654">Date</A>
&nbsp;|&nbsp;<A HREF="thread.html#00654">Thread</A>
&nbsp;]

<!--X-TopPNI-End-->
<!--X-MsgBody-->
<!--X-Subject-Header-Begin-->
<H1>[MUD-Dev] How to represent a 3d object...</H1>
<HR>
<!--X-Subject-Header-End-->
<!--X-Head-of-Message-->
<UL>
<LI><em>To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Subject</em>: [MUD-Dev] How to represent a 3d object...</LI>
<LI><em>From</em>: Ben Greear &lt;<A HREF="mailto:greear#cyberhighway,net">greear#cyberhighway,net</A>&gt;</LI>
<LI><em>Date</em>: Fri, 24 Apr 98 19:43:30 -0700</LI>
<LI><em>Delivery-date</em>: Fri Apr 24 19:44:30 1998</LI>
<LI><em>Delivery-date</em>: Fri, 24 Apr 1998 19:44:30 -0700</LI>
<LI><em>Envelope-to</em>: claw#kanga,nu</LI>
<LI><em>Reply-To</em>: <A HREF="mailto:mud-dev#kanga,nu">mud-dev#kanga,nu</A></LI>
<LI><em>Sender</em>: "Petidomo List Agent,,,," &lt;<A HREF="mailto:petidomo#kanga,nu">petidomo#kanga,nu</A>&gt;</LI>
</UL>
<!--X-Head-of-Message-End-->
<!--X-Head-Body-Sep-Begin-->
<HR>
<!--X-Head-Body-Sep-End-->
<!--X-Body-of-Message-->
<PRE>
I am thinking about how to represent a 3d object in a 3d world.

I believe that polygon rendering is my best bet, both because I am not
horribly efficient with graphics programming, and because it is easy for
me to realize.  Also, the new Java 2d API should give the the support I
need....

Still, I'll need to be able to figure out what polygons to draw, and what
to fill (tile) them with....

I envision the object as a collections of intersections (nodes) and faces. 
To draw the object, then I'll calculate orientation and distance from the
viewer, figure out what sides (faces) are visible, and then draw each face
onto a 'canvas'.

The two big questions are:  what kind of data structure should I use for
in-memory storage, and how to encode this for storage in a persistant
storage mechanism.  I can see advantages of allowing only three vertices
to protrude from any given node, but perhaps other systems are better?

There must be some standard way of representing this on disk, does anyone
have any pointers??

Thanks,
Ben

Ben Greear (greear#cyberhighway,net)  <A  HREF="http://www.primenet.com/~greear">http://www.primenet.com/~greear</A> 
Author of ScryMUD:  mud.primenet.com 4444
<A  HREF="http://www.primenet.com/~greear/ScryMUD/scry.html">http://www.primenet.com/~greear/ScryMUD/scry.html</A>


-- 
MUD-Dev: Advancing an unrealised future.
</PRE>

<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<HR>
<ul compact><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><A NAME="00242" HREF="msg00242.html">[MUD-Dev] Re: How to represent a 3d object...</A></strong>
<ul compact><li><em>From:</em> J C Lawrence &lt;claw#under,engr.sgi.com&gt;</li></ul>
<li><strong><A NAME="00675" HREF="msg00675.html">[MUD-Dev] Re: How to represent a 3d object...</A></strong>
<ul compact><li><em>From:</em> Oliver Jowett &lt;oliver#jowett,manawatu.planet.co.nz&gt;</li></ul>
</UL></LI></UL>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<UL>
<LI>Prev by Date:
<STRONG><A HREF="msg00644.html">[MUD-Dev] Re: (fwd) AD: [custom graphical] whitestar Crossfire MUD</A></STRONG>
</LI>
<LI>Next by Date:
<STRONG><A HREF="msg00694.html">[MUD-Dev] Re: (fwd) AD: [custom graphical] whitestar Crossfire MUD</A></STRONG>
</LI>
<LI>Prev by thread:
<STRONG><A HREF="msg00358.html">[MUD-Dev] Re: (fwd) AD: [custom graphical] whitestar Crossfire MUD</A></STRONG>
</LI>
<LI>Next by thread:
<STRONG><A HREF="msg00675.html">[MUD-Dev] Re: How to represent a 3d object...</A></STRONG>
</LI>
<LI>Index(es):
<UL>
<LI><A HREF="index.html#00654"><STRONG>Date</STRONG></A></LI>
<LI><A HREF="thread.html#00654"><STRONG>Thread</STRONG></A></LI>
</UL>
</LI>
</UL>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
<ul><li>Thread context:
<BLOCKQUOTE><UL>
<LI><STRONG>[MUD-Dev] Re: (fwd) AD: [custom graphical] whitestar Crossfire MUD</STRONG>, <EM>(continued)</EM>
<ul compact>
<ul compact>
<LI><strong><A NAME="00372" HREF="msg00372.html">[MUD-Dev] Re: (fwd) AD: [custom graphical] whitestar Crossfire MUD</A></strong>, 
Adam Wiggins <a href="mailto:adam#angel,com">adam#angel,com</a>, Mon 04 May 1998, 14:47 GMT
</LI>
<LI><strong><A NAME="00401" HREF="msg00401.html">[MUD-Dev] Motivations (was something else...)</A></strong>, 
s001gmu <a href="mailto:s001gmu#nova,wright.edu">s001gmu#nova,wright.edu</a>, Tue 05 May 1998, 15:55 GMT
<UL>
<LI><strong><A NAME="00403" HREF="msg00403.html">[MUD-Dev] Re: Motivations (was something else...)</A></strong>, 
Richard Woolcock <a href="mailto:KaVir#dial,pipex.com">KaVir#dial,pipex.com</a>, Tue 05 May 1998, 16:39 GMT
</LI>
</UL>
</LI>
</ul>
<LI><strong><A NAME="00358" HREF="msg00358.html">[MUD-Dev] Re: (fwd) AD: [custom graphical] whitestar Crossfire MUD</A></strong>, 
Jay Sax <a href="mailto:cimri1#gte,net">cimri1#gte,net</a>, Mon 04 May 1998, 10:16 GMT
</LI>
</ul>
</LI>
<LI><strong><A NAME="00654" HREF="msg00654.html">[MUD-Dev] How to represent a 3d object...</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Sat 25 Apr 1998, 02:44 GMT
<UL>
<LI><strong><A NAME="00675" HREF="msg00675.html">[MUD-Dev] Re: How to represent a 3d object...</A></strong>, 
Oliver Jowett <a href="mailto:oliver#jowett,manawatu.planet.co.nz">oliver#jowett,manawatu.planet.co.nz</a>, Sat 25 Apr 1998, 00:48 GMT
<UL>
<LI><strong><A NAME="00726" HREF="msg00726.html">[MUD-Dev] Re: How to represent a 3d object...</A></strong>, 
Ben Greear <a href="mailto:greear#cyberhighway,net">greear#cyberhighway,net</a>, Sun 26 Apr 1998, 04:14 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00242" HREF="msg00242.html">[MUD-Dev] Re: How to represent a 3d object...</A></strong>, 
J C Lawrence <a href="mailto:claw#under,engr.sgi.com">claw#under,engr.sgi.com</a>, Wed 29 Apr 1998, 22:49 GMT
</LI>
</UL>
</LI>
<LI><strong><A NAME="00663" HREF="msg00663.html">[MUD-Dev] Re: MAPPING: Creating a bitmaped graphic from map</A></strong>, 
John Bertoglio <a href="mailto:alexb#internetcds,com">alexb#internetcds,com</a>, Sat 25 Apr 1998, 01:20 GMT
</UL></BLOCKQUOTE>

</ul>
<hr>
<center>
[&nbsp;<a href="../">Other Periods</a>
&nbsp;|&nbsp;<a href="../../">Other mailing lists</a>
&nbsp;|&nbsp;<a href="/search.php3">Search</a>
&nbsp;]
</center>
<hr>
</body>
</html>