Languages & Coding > Blitz2D, BlitzPlus, Blitz3D

CreateTexture

(1/2) > >>

JBR:
Hi, trying to make a texture which looks blocky but it seems CreateTexture has no effect on mipmapping.

I've cleartexturefilters at the start.

When I texture the mesh it's all smooth and I want blocky!

Any ideas?

Jim

col:
Hiya,

That was never implemented in the original Blitz3D.

However you're in luck as there's a version ( and source ) of Blitz3D at my repo which will let you do that
 It's called 'point sampling' amd it's been added to the texture flags ( use flag value 1024, it's in the docs contained ). The update was pulled into the 'official' repo by Mr Sibley at his github, but I'm not sure if there is an exe there to install.

That will give you unfiltered 'blocky' textures.

https://github.com/davecamp/blitz3d_msvc2017/releases/tag/v1.110

JBR:
Thanks col, working great! Jim.

JBR:
Got a problem,

It always starts with a very small window in top left of screen with debug enabled every time.

Also, it does not remember the recent files.

Jim.

col:
Thanks for the feedback.


--- Quote ---It always starts with a very small window in top left of screen with debug enabled every time.
--- End quote ---

As usual I don't get this :D so I'm trying to think what this could be.
Could it be the 'Blitz Debugger' window? Are you using multiple monitors? What OS are you using? I've tried with Win8.1 and Win10. Is there a chance of a little pic to show the issue?

This version is pretty much the official repo cloned with the extra flag for the texture filtering added in.

Navigation

[0] Message Index

[#] Next page

Go to full version