Advertisement



Go Back   Zune Boards > Zune Discussions > Zune Games > Development Discussions

New Member?



 
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Development Discussions All developers who are coding games may stop by here for any help, suggestions, and everything development related.

Reply
 
LinkBack Thread Tools
Old 06-03-2008, 08:47 PM   #1 (permalink)
Zewbie
 
Join Date: Jun 2008
Posts: 6
Reputation: 13
Default PrimitiveBatch


PrimitiveBatch uses several classes/structs/enums that can't be found when I build my game. But, they are all listed in the MSDN Library under Microsoft.Xna.Framework.Graphics, which PrimitiveBatch is using.

VertexPositionColor
VertexDeclaration
BasicEffect
PrimitiveType

The MSDN Library only has documentation for XNA Game Studio 2.0. Are these not in the CTP yet?




Last edited by ujax : 06-03-2008 at 08:48 PM. Reason: Used HTML for link, didn't work.



ujax is offline   Reply With Quote
Old 06-03-2008, 11:48 PM   #2 (permalink)
zB Programmer
Jr. Member
 
DiNoGames's Avatar
 
Join Date: May 2008
Location: Bremen, germany
Posts: 454
Reputation: 246
Send a message via Skype™ to DiNoGames
Default

PrimitiveBatch is used to send data to the 3D graphics chip.

The Zune has no graphics chip. MS announced that you can only draw graphics on the Zune using SpriteBatch.
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.







DiNoGames is offline   Reply With Quote
Old 06-04-2008, 12:27 AM   #3 (permalink)
Zewbie
 
Join Date: Jun 2008
Posts: 6
Reputation: 13
Default

So the only way to draw vector graphics is by scaling and rotating a 1 pixel texture?



ujax is offline   Reply With Quote
Old 06-04-2008, 12:39 AM   #4 (permalink)
zB Programmer
Jr. Member
 
DiNoGames's Avatar
 
Join Date: May 2008
Location: Bremen, germany
Posts: 454
Reputation: 246
Send a message via Skype™ to DiNoGames
Default

No, you can directly access and manipulate the "pixels" of the textures/rendertargets, thus you are able to make your own line, rectangle or circle functions. I need to get to the office now, so I don't have time to explain right now... If nobody else explains here until I'm back then I will do later.

Greetings,
Dirk
__________________

To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.


To view links or images in signatures your post count must be 0 or greater. You currently have 0 posts.







DiNoGames is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT -8. The time now is 08:42 PM.

 
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 RC8
vB Ad Management by =RedTyger=
(C) ZuneBoards 2006-2007
Copyright © 2006 - 2008 Zune Boards | About Zune Boards | Legal | A member of the Crowdgather Forum Community