This website uses cookies. By clicking Accept, you consent to the use of cookies.
Click Here
to learn more about how we use cookies.
Accept
Reject
Browse
VR Forums
Announcements
Get Help
Talk VR
VR Experiences
International
Off-Topic
Developer Forums
Unity Development
Unreal Development
Meta Spatial SDK Development
Android Apps
Web Development
OpenXR Development
General VR & MR Development
PCVR/Link Development
Quest Development
Accessibility Development
Developer Dashboard Feedback
SDK Development
Tool Feedback
Other VR Development
MVPs
Creator Forum
Getting Started
Events & Competitions
Community Resources
Creator Questions & Discussions
What I'm Building
Events Calendar
Help
Sign In
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
Meta Community Forums
VR Forums
Talk VR
Apply a texture from a HBITMAP to a wall in the sa...
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
Apply a texture from a HBITMAP to a wall in the sample DirectX11 room
BlueLeopard543
Honored Guest
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
05-18-2016
08:15 AM
Hi,
is it possible using the code from the sample OculusTinyRoom(DX11) to apply a texture to a solid from a HBITMAP?
The sample code is
TriangleSet walls;
walls.AddSolidColorBox(-10.1f, 0.0f, -20.0f, -10.0f, 4.0f, 20.0f, 0xff808080); // Left Wall
Add(new Model(&walls, Vector3f(0, 0, 0), new Material(new Texture(false, Sizei(256, 256), Texture::AUTO_WALL))));
Let's say that I want apply a HBITMAP texture on this wall, how can I do it in a simple way?
Thanks
DirectX11
HBITMAP
noob
sample
All forum topics
Previous Topic
Next Topic
2 REPLIES
2
FX2K
Heroic Explorer
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
05-18-2016
09:02 AM
You may have more luck on the developer section of the forums...
https://forums.oculus.com/developer
CV1: Ordered 6th Jan 2016 - Est Delivery Some time in May... DK2: Ordered: 8th of Aug 2014 - Delivered: 14 Oct 2014
BlueLeopard543
Honored Guest
Options
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
06-06-2016
09:13 AM
How to delete a discussion?
Post Reply